Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(a11y): improve text contrast on all light themes for WCAG AA (#3322)

LearningCircuitda84a77a36eb
diff --git a/src/local_deep_research/web/static/css/mobile-navigation.css b/src/local_deep_research/web/static/css/mobile-navigation.css
index 33b4b24472..29a82d77de 100644
--- a/src/local_deep_research/web/static/css/mobile-navigation.css
+++ b/src/local_deep_research/web/static/css/mobile-navigation.css
@@ -544,7 +544,7 @@
[data-theme="light"] {
--mobile-nav-bg: #f5f5f5;
--mobile-nav-border: #ddd;
- --mobile-nav-text: #666;
+ --mobile-nav-text: #4a4a4a;
--mobile-sheet-bg: #fff;
--mobile-sheet-handle: #ccc;
}
@@ -552,7 +552,7 @@
[data-theme="sepia"] {
--mobile-nav-bg: #f4ecd8;
--mobile-nav-border: #d4c4a8;
- --mobile-nav-text: #7a6f5a;
+ --mobile-nav-text: #5c5244;
--mobile-nav-active: #8b6914;
--mobile-nav-text-active: #8b6914;
--mobile-sheet-bg: #faf6ed;
diff --git a/src/local_deep_research/web/static/css/styles.css b/src/local_deep_research/web/static/css/styles.css
index 2a3afae795..8804ed7c08 100644
--- a/src/local_deep_research/web/static/css/styles.css
+++ b/src/local_deep_research/web/static/css/styles.css
@@ -137,7 +137,7 @@ a:hover {
.ldr-badge-warning {
background: var(--warning-color);
- color: white;
+ color: #1a1a00;
}
.ldr-badge-info {
diff --git a/src/local_deep_research/web/static/css/themes.css b/src/local_deep_research/web/static/css/themes.css
index 35c190d33f..426d904883 100644
--- a/src/local_deep_research/web/static/css/themes.css
+++ b/src/local_deep_research/web/static/css/themes.css
@@ -128,9 +128,9 @@
--accent-primary: #5c3dcc;
--accent-secondary: #7c5ce7;
--accent-tertiary: #0984e3;
- --text-primary: #212529;
- --text-secondary: #495057;
- --text-muted: #6c757d;
+ --text-primary: #1a1d21;
+ --text-secondary: #3d4348;
+ --text-muted: #596068;
--border-color: #dee2e6;
--success-color: #28a745;
--warning-color: #ffc107;
@@ -143,9 +143,9 @@
--accent-primary-rgb: 92, 61, 204;
--accent-secondary-rgb: 124, 92, 231;
--accent-tertiary-rgb: 9, 132, 227;
- --text-primary-rgb: 33, 37, 41;
- --text-secondary-rgb: 73, 80, 87;
- --text-muted-rgb: 108, 117, 125;
+ --text-primary-rgb: 26, 29, 33;
+ --text-secondary-rgb: 61, 67, 72;
+ --text-muted-rgb: 89, 96, 104;
--border-color-rgb: 222, 226, 230;
--success-color-rgb: 40, 167, 69;
--warning-color-rgb: 255, 193, 7;
@@ -230,9 +230,9 @@
--accent-primary: #b58900;
--accent-secondary: #cb4b16;
--accent-tertiary: #268bd2;
- --text-primary: #5c5144;
- --text-secondary: #657b83;
- --text-muted: #93a1a1;
+ --text-primary: #433b32;
+ --text-secondary: #555f66;
+ --text-muted: #73807e;
--border-color: #d3c6a6;
--success-color: #859900;
--warning-color: #b58900;
@@ -245,9 +245,9 @@
--accent-primary-rgb: 181, 137, 0;
--accent-secondary-rgb: 203, 75, 22;
--accent-tertiary-rgb: 38, 139, 210;
- --text-primary-rgb: 92, 81, 68;
- --text-secondary-rgb: 101, 123, 131;
- --text-muted-rgb: 147, 161, 161;
+ --text-primary-rgb: 67, 59, 50;
+ --text-secondary-rgb: 85, 95, 102;
+ --text-muted-rgb: 115, 128, 126;
--border-color-rgb: 211, 198, 166;
--success-color-rgb: 133, 153, 0;
--warning-color-rgb: 181, 137, 0;
@@ -257,7 +257,7 @@
--card-shadow: 0 2px 10px rgba(101, 82, 51, 0.1);
--glow-effect: 0 0 10px rgba(181, 137, 0, 0.15);
--gradient-bg: linear-gradient(135deg, #eee8d5 0%, #f4ecd8 100%);
- --overlay-color: rgba(92, 81, 68, 0.4);
+ --overlay-color: rgba(67, 59, 50, 0.55);
--backdrop-blur: blur(10px);
/* Theme-aware colors for shadows and highlights */
@@ -634,7 +634,7 @@
--bg-tertiary: #d5c4a1;
--accent-primary: #d65d0e;
--accent-secondary: #af3a03;
- --accent-tertiary: #427b58;
+ --accent-tertiary: #356A49;
--text-primary: #3c3836;
--text-secondary: #504945;
--text-muted: #7c6f64;
@@ -648,7 +648,7 @@
--bg-tertiary-rgb: 213, 196, 161;
--accent-primary-rgb: 214, 93, 14;
--accent-secondary-rgb: 175, 58, 3;
- --accent-tertiary-rgb: 66, 123, 88;
+ --accent-tertiary-rgb: 53, 106, 73;
--text-primary-rgb: 60, 56, 54;
--text-secondary-rgb: 80, 73, 69;
--text-muted-rgb: 124, 111, 100;
@@ -852,7 +852,7 @@
--accent-tertiary: #859900;
--text-primary: #073642;
--text-secondary: #586e75;
- --text-muted: #93a1a1;
+ --text-muted: #6b7b7b;
--border-color: #93a1a1;
--success-color: #859900;
--warning-color: #b58900;
@@ -866,7 +866,7 @@
--accent-tertiary-rgb: 133, 153, 0;
--text-primary-rgb: 7, 54, 66;
--text-secondary-rgb: 88, 110, 117;
- --text-muted-rgb: 147, 161, 161;
+ --text-muted-rgb: 107, 123, 123;
--border-color-rgb: 147, 161, 161;
--success-color-rgb: 133, 153, 0;
--warning-color-rgb: 181, 137, 0;
@@ -875,7 +875,7 @@
--card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
--glow-effect: 0 0 10px rgba(38, 139, 210, 0.15);
--gradient-bg: linear-gradient(135deg, #eee8d5 0%, #fdf6e3 100%);
- --overlay-color: rgba(7, 54, 66, 0.3);
+ --overlay-color: rgba(7, 54, 66, 0.5);
--backdrop-blur: blur(10px);
/* Theme-aware colors for shadows and highlights */
@@ -1027,7 +1027,7 @@
--accent-tertiary: #3A94C5;
--text-primary: #5C6A72;
--text-secondary: #829181;
- --text-muted: #A6B0A0;
+ --text-muted: #7A8575;
--border-color: #E0DCC7;
--success-color: #8DA101;
--warning-color: #DFA000;
@@ -1041,7 +1041,7 @@
--accent-tertiary-rgb: 58, 148, 197;
--text-primary-rgb: 92, 106, 114;
--text-secondary-rgb: 130, 145, 129;
- --text-muted-rgb: 166, 176, 160;
+ --text-muted-rgb: 122, 133, 117;
--border-color-rgb: 224, 220, 199;
--success-color-rgb: 141, 161, 1;
--warning-color-rgb: 223, 160, 0;
@@ -1050,7 +1050,7 @@
--card-shadow: 0 2px 12px rgba(92, 106, 114, 0.08);
--glow-effect: 0 0 10px rgba(141, 161, 1, 0.15);
--gradient-bg: linear-gradient(135deg, #F4F0D9 0%, #FDF6E3 100%);
- --overlay-color: rgba(92, 106, 114, 0.2);
+ --overlay-color: rgba(92, 106, 114, 0.5);
--backdrop-blur: blur(10px);
/* Theme-aware colors for shadows and highlights */
@@ -1195,12 +1195,12 @@
--bg-secondary: #FAFAFA;
--bg-tertiary: #E0E0E0;
--accent-primary: #4876D6;
- --accent-secondary: #994CC3;
+ --accent-secondary: #7B3DA0;
--accent-tertiary: #0C969B;
--text-primary: #403F53;
--text-secondary: #5C5C72;
- --text-muted: #90A7B2;
- --border-color: #D6D6D6;
+ --text-muted: #5F7A86;
+ --border-color: #B8B8B8;
--success-color: #4CA64C;
--warning-color: #DAAA01;
--error-color: #DE3D3B;
@@ -1209,12 +1209,12 @@
--bg-secondary-rgb: 250, 250, 250;
--bg-tertiary-rgb: 224, 224, 224;
--accent-primary-rgb: 72, 118, 214;
- --accent-secondary-rgb: 153, 76, 195;
+ --accent-secondary-rgb: 123, 61, 160;
--accent-tertiary-rgb: 12, 150, 155;
--text-primary-rgb: 64, 63, 83;
--text-secondary-rgb: 92, 92, 114;
- --text-muted-rgb: 144, 167, 178;
- --border-color-rgb: 214, 214, 214;
+ --text-muted-rgb: 95, 122, 134;
+ --border-color-rgb: 184, 184, 184;
--success-color-rgb: 76, 166, 76;
--warning-color-rgb: 218, 170, 1;
--error-color-rgb: 222, 61, 59;
@@ -1222,7 +1222,7 @@
--card-shadow: 0 2px 12px rgba(64, 63, 83, 0.08);
--glow-effect: 0 0 10px rgba(72, 118, 214, 0.15);
--gradient-bg: linear-gradient(135deg, #FAFAFA 0%, #F0F0F0 100%);
- --overlay-color: rgba(64, 63, 83, 0.2);
+ --overlay-color: rgba(64, 63, 83, 0.5);
--backdrop-blur: blur(10px);
/* Theme-aware colors for shadows and highlights */
@@ -1371,7 +1371,7 @@
--accent-tertiary: #56949f;
--text-primary: #575279;
--text-secondary: #797593;
- --text-muted: #9893a5;
+ --text-muted: #716d80;
--border-color: #dfdad9;
--success-color: #56949f;
--warning-color: #ea9d34;
@@ -1385,7 +1385,7 @@
--accent-tertiary-rgb: 86, 148, 159;
--text-primary-rgb: 87, 82, 121;
--text-secondary-rgb: 121, 117, 147;
- --text-muted-rgb: 152, 147, 165;
+ --text-muted-rgb: 113, 109, 128;
--border-color-rgb: 223, 218, 217;
--success-color-rgb: 86, 148, 159;
--warning-color-rgb: 234, 157, 52;
@@ -1394,7 +1394,7 @@
--card-shadow: 0 2px 12px rgba(87, 82, 121, 0.08);
--glow-effect: 0 0 10px rgba(215, 130, 126, 0.15);
--gradient-bg: linear-gradient(135deg, #fffaf3 0%, #faf4ed 100%);
- --overlay-color: rgba(87, 82, 121, 0.2);
+ --overlay-color: rgba(87, 82, 121, 0.5);
--backdrop-blur: blur(10px);
/* Theme-aware colors for shadows and highlights */