Update auto screens to use new lightest spectrum theme

This commit is contained in:
Andrew Kingston 2021-02-04 15:10:51 +00:00
parent e3e22da303
commit 4a7e05aa67
4 changed files with 7 additions and 2 deletions

View File

@ -35,7 +35,7 @@ const createScreen = table => {
const form = makeMainForm() const form = makeMainForm()
.instanceName("Form") .instanceName("Form")
.customProps({ .customProps({
theme: "spectrum--light", theme: "spectrum--lightest",
size: "spectrum--medium", size: "spectrum--medium",
datasource: { datasource: {
label: table.name, label: table.name,

View File

@ -90,7 +90,7 @@ const createScreen = table => {
const form = makeMainForm() const form = makeMainForm()
.instanceName("Form") .instanceName("Form")
.customProps({ .customProps({
theme: "spectrum--light", theme: "spectrum--lightest",
size: "spectrum--medium", size: "spectrum--medium",
datasource: { datasource: {
label: table.name, label: table.name,

View File

@ -1059,6 +1059,10 @@
"key": "theme", "key": "theme",
"defaultValue": "spectrum--light", "defaultValue": "spectrum--light",
"options": [ "options": [
{
"label": "Lightest",
"value": "spectrum--lightest"
},
{ {
"label": "Light", "label": "Light",
"value": "spectrum--light" "value": "spectrum--light"

View File

@ -2,6 +2,7 @@ import "@budibase/bbui/dist/bbui.css"
import "@spectrum-css/vars/dist/spectrum-global.css" import "@spectrum-css/vars/dist/spectrum-global.css"
import "@spectrum-css/vars/dist/spectrum-medium.css" import "@spectrum-css/vars/dist/spectrum-medium.css"
import "@spectrum-css/vars/dist/spectrum-large.css" import "@spectrum-css/vars/dist/spectrum-large.css"
import "@spectrum-css/vars/dist/spectrum-lightest.css"
import "@spectrum-css/vars/dist/spectrum-light.css" import "@spectrum-css/vars/dist/spectrum-light.css"
import "@spectrum-css/vars/dist/spectrum-dark.css" import "@spectrum-css/vars/dist/spectrum-dark.css"
import "@spectrum-css/vars/dist/spectrum-darkest.css" import "@spectrum-css/vars/dist/spectrum-darkest.css"