diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/index.svelte index d69012966a..d520674e61 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/index.svelte @@ -17,7 +17,7 @@ import { onMount } from "svelte" import { DefaultAppTheme } from "constants" - const updateNavigation = async (key, value) => { + const update = async (key, value) => { try { let navigation = $store.navigation navigation[key] = value @@ -65,13 +65,13 @@ selected={$store.navigation.navigation === "Top"} quiet={$store.navigation.navigation !== "Top"} icon="PaddingTop" - on:click={() => updateNavigation("navigation", "Top")} + on:click={() => update("navigation", "Top")} /> updateNavigation("navigation", "Left")} + on:click={() => update("navigation", "Left")} /> @@ -79,19 +79,19 @@ updateNavigation("sticky", e.detail)} + on:change={e => update("sticky", e.detail)} /> {/if} updateNavigation("hideLogo", !e.detail)} + on:change={e => update("hideLogo", !e.detail)} /> {#if !$store.navigation.hideLogo} updateNavigation("logoUrl", e.detail)} + on:change={e => update("logoUrl", e.detail)} placeholder="Add logo URL" updateOnChange={false} /> @@ -101,12 +101,12 @@ updateNavigation("hideTitle", !e.detail)} + on:change={e => update("hideTitle", !e.detail)} /> {#if !$store.navigation.hideTitle} updateNavigation("title", e.detail)} + on:change={e => update("title", e.detail)} placeholder="Add title" updateOnChange={false} /> diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeEditor.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeEditor.svelte index a592ce3c15..418789e7d5 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeEditor.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeEditor.svelte @@ -94,21 +94,9 @@
-
-
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/index.svelte index 8f6fe37f2c..177940a94c 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/index.svelte @@ -1,7 +1,48 @@ @@ -9,6 +50,69 @@ Your theme is set across all the screens within your app - + + + + + +
+ {#each ButtonBorderRadiusOptions as option} +
+ +
+ {/each} +
+
+ + + update("primaryColor", e.detail)} + /> + + + + update("primaryColorHover", e.detail)} + /> +
+ +