diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index f17c8b40d..ad41c05be 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -32,6 +32,8 @@ let notificationSound = true; let notificationSoundAlways = false; + let highContrastMode = false; + let detectArtifacts = true; let richTextInput = true; @@ -85,6 +87,11 @@ saveSettings({ splitLargeChunks: splitLargeChunks }); }; + const toggleHighContrastMode = async () => { + highContrastMode = !highContrastMode; + saveSettings({ highContrastMode: highContrastMode }); + }; + const togglePromptAutocomplete = async () => { promptAutocomplete = !promptAutocomplete; saveSettings({ promptAutocomplete: promptAutocomplete }); @@ -370,6 +377,28 @@
{$i18n.t('UI')}
+
+
+
+ {$i18n.t('High Contrast Mode')} ({$i18n.t('Beta')}) +
+ + +
+
+
{$i18n.t('Landing Page Mode')}