Update autoscreens to use better spectrum-compatible styles and fonts

This commit is contained in:
Andrew Kingston 2021-05-25 10:15:10 +01:00
parent 6c960dd9e2
commit 41fb234499
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ function generateTitleContainer(table) {
flex: "1 1 auto",
"text-transform": "capitalize",
})
.type("h3")
.type("h2")
.instanceName("Title")
.text(table.name)

View File

@ -97,7 +97,7 @@ export function makeSaveButton(table, formId) {
"border-width": "0",
"border-style": "None",
color: "#fff",
"font-weight": "500",
"font-weight": "600",
"font-size": "14px",
"margin-left": "16px",
})
@ -144,7 +144,7 @@ export function makeTitleContainer(title) {
flex: "1 1 auto",
})
.customStyle(spectrumColor(900))
.type("h3")
.type("h2")
.instanceName("Title")
.text(title)