diff --git a/packages/builder/src/components/commandPalette/CommandPalette.svelte b/packages/builder/src/components/commandPalette/CommandPalette.svelte index f48fdf4929..a8b4dedbdb 100644 --- a/packages/builder/src/components/commandPalette/CommandPalette.svelte +++ b/packages/builder/src/components/commandPalette/CommandPalette.svelte @@ -141,13 +141,13 @@ icon: "ShareAndroid", action: () => $goto(`./automation/${automation._id}`), })) ?? []), - ...Constants.Themes.map(theme => ({ + ...Constants.ThemeOptions.map(theme => ({ type: "Change Builder Theme", name: theme.name, icon: "ColorPalette", action: () => themeStore.update(state => { - state.theme = theme.class + state.theme = theme.id return state }), })), diff --git a/packages/builder/src/components/settings/ThemeModal.svelte b/packages/builder/src/components/settings/ThemeModal.svelte index cd1649fcb4..eb63a49b02 100644 --- a/packages/builder/src/components/settings/ThemeModal.svelte +++ b/packages/builder/src/components/settings/ThemeModal.svelte @@ -6,10 +6,10 @@