Browse Source

Merge pull request #2220 from Budibase/fix/initial-theme

Fix colour picker inconsistencies when app theme has never been changed
gh-pages
Andrew Kingston 5 years ago
committed by GitHub
parent
commit
11b1fe88f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/builder/src/builderStore/store/frontend.js
  2. 2
      packages/builder/src/components/design/AppPreview/AppThemeSelect.svelte

2
packages/builder/src/builderStore/store/frontend.js

@ -70,7 +70,7 @@ export const getFrontendStore = () => {
url: application.url,
layouts,
screens,
theme: application.theme,
theme: application.theme || "spectrum--light",
hasAppPackage: true,
appInstance: application.instance,
clientLibPath,

2
packages/builder/src/components/design/AppPreview/AppThemeSelect.svelte

@ -24,7 +24,7 @@
<div>
<Select
value={$store.theme || "spectrum--light"}
value={$store.theme}
options={themeOptions}
placeholder={null}
on:change={e => store.actions.theme.save(e.detail)}

Loading…
Cancel
Save