Update auto screens to use new lightest spectrum theme
This commit is contained in:
parent
c36ddceb7e
commit
c7f2a989ad
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue