From 6fd91e58cf20daf473bbe3f3d42fc4d8c86bc5d2 Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Fri, 6 Jun 2025 13:38:35 +0200 Subject: [PATCH 1/2] add highContrastMode to type Settings --- src/lib/stores/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/stores/index.ts b/src/lib/stores/index.ts index 97057726da..fc64a6ecdd 100644 --- a/src/lib/stores/index.ts +++ b/src/lib/stores/index.ts @@ -142,6 +142,7 @@ type Settings = { audio?: AudioSettings; showUsername?: boolean; notificationEnabled?: boolean; + highContrastMode?: boolean; title?: TitleSettings; splitLargeDeltas?: boolean; chatDirection: 'LTR' | 'RTL' | 'auto'; From ce45939463e1db7c3c0283188fc46438825a7e93 Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Fri, 6 Jun 2025 13:39:03 +0200 Subject: [PATCH 2/2] add highContrastMode to menu items/tabs to improve contrast --- src/lib/components/chat/SettingsModal.svelte | 130 +++++++++++++------ 1 file changed, 93 insertions(+), 37 deletions(-) diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 16303834c3..68b8ac0cf1 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -580,10 +580,16 @@ {#each visibleTabs as tabId (tabId)} {#if tabId === 'general'} {:else if tabId === 'interface'} {:else if tabId === 'audio'} {:else if tabId === 'chats'} {:else if tabId === 'account'} {:else if tabId === 'about'}