Browse Source

Set light as default app theme

pull/4023/head
Andrew Kingston 5 years ago
parent
commit
ccb48a642f
  1. 2
      packages/builder/src/components/design/AppPreview/AppThemeSelect.svelte
  2. 2
      packages/client/src/components/ClientApp.svelte

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

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

2
packages/client/src/components/ClientApp.svelte

@ -59,7 +59,7 @@
} }
} }
$: themeClass = $builderStore.theme || "spectrum--lightest" $: themeClass = $builderStore.theme || "spectrum--light"
</script> </script>
{#if dataLoaded && $screenStore.activeLayout} {#if dataLoaded && $screenStore.activeLayout}

Loading…
Cancel
Save