diff --git a/src/interface/pages/settings/PluginSettingsBlocks.svelte b/src/interface/pages/settings/PluginSettingsBlocks.svelte index be00359c..2eb503aa 100644 --- a/src/interface/pages/settings/PluginSettingsBlocks.svelte +++ b/src/interface/pages/settings/PluginSettingsBlocks.svelte @@ -5,7 +5,6 @@ import Slider from "@/interface/components/Slider.svelte"; import Select from "@/interface/components/Select.svelte"; import HotkeyInput from "@/interface/components/HotkeyInput.svelte"; - import SettingRow from "./SettingRow.svelte"; import { settingsState } from "@/seqta/utils/listeners/SettingsState"; import { cloudAuth } from "@/seqta/utils/CloudAuth"; import { @@ -23,7 +22,6 @@ pluginSettingsStore, type PluginSettingsEntry, } from "./pluginSettingsState.svelte"; - import { toMountableComponent } from "@/types/mountableComponent"; let { section, @@ -73,10 +71,10 @@ {#each visiblePlugins as plugin (plugin.pluginId)} {@const perfPaused = pluginPerfPaused(plugin.pluginId)} - + {#if perfPaused}

Paused by Performance Mode — enable anyway @@ -183,18 +181,5 @@ {/if} {/each} {/if} - {#if plugin.pluginId === "global-search"} - (settingsState.themeOfTheMonthDisabled = !isOn), - }} - /> - {/if} {/each} diff --git a/src/interface/pages/settings/sections/appearance.svelte b/src/interface/pages/settings/sections/appearance.svelte index f7545ead..f7751b72 100644 --- a/src/interface/pages/settings/sections/appearance.svelte +++ b/src/interface/pages/settings/sections/appearance.svelte @@ -21,7 +21,7 @@ const isEngage = isSeqtaEngageExperience(); -{#if matchesSearch(searchQuery, "Custom Theme Colour", "Interface Font", "Customise the overall theme colour of SEQTA Learn", "Choose the typeface used across SEQTA Learn")} +{#if matchesSearch(searchQuery, "Custom Theme Colour", "Interface Font", "Theme of the Month", "Customise the overall theme colour of SEQTA Learn", "Choose the typeface used across SEQTA Learn", "Show the monthly featured theme popup when a new entry is available")} {#each ( [ @@ -39,6 +39,16 @@ Component: Button, props: { onClick: showFontPicker, text: "Change" }, }, + { + title: "Theme of the Month", + description: "Show the monthly featured theme popup when a new entry is available", + id: 15, + Component: Switch, + props: { + state: !($settingsState.themeOfTheMonthDisabled ?? false), + onChange: (isOn: boolean) => (settingsState.themeOfTheMonthDisabled = !isOn), + }, + }, ] as unknown as SettingsList[] ) as option (option.id)} @@ -50,7 +60,7 @@ {/if} -{#if matchesSearch(searchQuery, "Adaptive Theme Colour", "Soft Gradient", "Smooth colour transition")} +{#if matchesSearch(searchQuery, "Adaptive Theme Colour", "Soft Gradient", "Smooth Colour Transition")}

@@ -88,7 +98,7 @@ class="flex justify-between items-center px-4 py-3 pl-6 border-t border-zinc-100 dark:border-zinc-700/50" >
-

Smooth colour transition

+

Smooth Colour Transition

Ease between class/subject colours when navigating instead of switching instantly