From 41fb2344990431cd33e21bc287b21ab8714d21bb Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 25 May 2021 10:15:10 +0100 Subject: [PATCH] Update autoscreens to use better spectrum-compatible styles and fonts --- .../src/builderStore/store/screenTemplates/rowListScreen.js | 2 +- .../store/screenTemplates/utils/commonComponents.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js b/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js index ae354b681f..f31c4c12d2 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js +++ b/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js @@ -51,7 +51,7 @@ function generateTitleContainer(table) { flex: "1 1 auto", "text-transform": "capitalize", }) - .type("h3") + .type("h2") .instanceName("Title") .text(table.name) diff --git a/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js b/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js index 331938f11a..02b3c20a2f 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js +++ b/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js @@ -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)