Update autoscreens to use better spectrum-compatible styles and fonts
This commit is contained in:
parent
6c960dd9e2
commit
41fb234499
|
@ -51,7 +51,7 @@ function generateTitleContainer(table) {
|
||||||
flex: "1 1 auto",
|
flex: "1 1 auto",
|
||||||
"text-transform": "capitalize",
|
"text-transform": "capitalize",
|
||||||
})
|
})
|
||||||
.type("h3")
|
.type("h2")
|
||||||
.instanceName("Title")
|
.instanceName("Title")
|
||||||
.text(table.name)
|
.text(table.name)
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ export function makeSaveButton(table, formId) {
|
||||||
"border-width": "0",
|
"border-width": "0",
|
||||||
"border-style": "None",
|
"border-style": "None",
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
"font-weight": "500",
|
"font-weight": "600",
|
||||||
"font-size": "14px",
|
"font-size": "14px",
|
||||||
"margin-left": "16px",
|
"margin-left": "16px",
|
||||||
})
|
})
|
||||||
|
@ -144,7 +144,7 @@ export function makeTitleContainer(title) {
|
||||||
flex: "1 1 auto",
|
flex: "1 1 auto",
|
||||||
})
|
})
|
||||||
.customStyle(spectrumColor(900))
|
.customStyle(spectrumColor(900))
|
||||||
.type("h3")
|
.type("h2")
|
||||||
.instanceName("Title")
|
.instanceName("Title")
|
||||||
.text(title)
|
.text(title)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue