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 c36ddceb7e
commit c7f2a989ad
4 changed files with 7 additions and 2 deletions

View File

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

View File

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

View File

@ -1059,6 +1059,10 @@
"key": "theme",
"defaultValue": "spectrum--light",
"options": [
{
"label": "Lightest",
"value": "spectrum--lightest"
},
{
"label": "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-medium.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-dark.css"
import "@spectrum-css/vars/dist/spectrum-darkest.css"