~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Add 10 research-focused themes for improved readability
LearningCircuite525b61978fd
diff --git a/src/local_deep_research/web/static/css/themes.css b/src/local_deep_research/web/static/css/themes.cssindex 7341ae1b80..c80964435c 100644--- a/src/local_deep_research/web/static/css/themes.css+++ b/src/local_deep_research/web/static/css/themes.css@@ -804,6 +804,396 @@--card-bg: var(--bg-secondary);}+/* Flexoki Dark Theme - Ink-inspired for prose and code */+[data-theme="flexoki-dark"] {+ --bg-primary: #100F0F;+ --bg-secondary: #1C1B1A;+ --bg-tertiary: #282726;+ --accent-primary: #DA702C;+ --accent-secondary: #879A39;+ --accent-tertiary: #4385BE;+ --text-primary: #CECDC3;+ --text-secondary: #B7B5AC;+ --text-muted: #878580;+ --border-color: #403E3C;+ --success-color: #879A39;+ --warning-color: #D0A215;+ --error-color: #D14D41;++ --bg-primary-rgb: 16, 15, 15;+ --bg-secondary-rgb: 28, 27, 26;+ --bg-tertiary-rgb: 40, 39, 38;+ --accent-primary-rgb: 218, 112, 44;+ --accent-secondary-rgb: 135, 154, 57;+ --accent-tertiary-rgb: 67, 133, 190;+ --text-primary-rgb: 206, 205, 195;+ --text-secondary-rgb: 183, 181, 172;+ --text-muted-rgb: 135, 133, 128;+ --border-color-rgb: 64, 62, 60;+ --success-color-rgb: 135, 154, 57;+ --warning-color-rgb: 208, 162, 21;+ --error-color-rgb: 209, 77, 65;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);+ --glow-effect: 0 0 15px rgba(218, 112, 44, 0.2);+ --gradient-bg: linear-gradient(135deg, #1C1B1A 0%, #100F0F 100%);+ --overlay-color: rgba(16, 15, 15, 0.8);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Flexoki Light Theme - Paper-inspired warm tones */+[data-theme="flexoki-light"] {+ --bg-primary: #FFFCF0;+ --bg-secondary: #F2F0E5;+ --bg-tertiary: #E6E4D9;+ --accent-primary: #BC5215;+ --accent-secondary: #66800B;+ --accent-tertiary: #205EA6;+ --text-primary: #100F0F;+ --text-secondary: #343331;+ --text-muted: #6F6E69;+ --border-color: #CECDC3;+ --success-color: #66800B;+ --warning-color: #AD8301;+ --error-color: #AF3029;++ --bg-primary-rgb: 255, 252, 240;+ --bg-secondary-rgb: 242, 240, 229;+ --bg-tertiary-rgb: 230, 228, 217;+ --accent-primary-rgb: 188, 82, 21;+ --accent-secondary-rgb: 102, 128, 11;+ --accent-tertiary-rgb: 32, 94, 166;+ --text-primary-rgb: 16, 15, 15;+ --text-secondary-rgb: 52, 51, 49;+ --text-muted-rgb: 111, 110, 105;+ --border-color-rgb: 206, 205, 195;+ --success-color-rgb: 102, 128, 11;+ --warning-color-rgb: 173, 131, 1;+ --error-color-rgb: 175, 48, 41;++ --card-shadow: 0 2px 12px rgba(16, 15, 15, 0.08);+ --glow-effect: 0 0 10px rgba(188, 82, 21, 0.15);+ --gradient-bg: linear-gradient(135deg, #F2F0E5 0%, #FFFCF0 100%);+ --overlay-color: rgba(16, 15, 15, 0.3);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Rosé Pine Theme - Warm and soft soho vibes */+[data-theme="rose-pine"] {+ --bg-primary: #191724;+ --bg-secondary: #1f1d2e;+ --bg-tertiary: #26233a;+ --accent-primary: #ebbcba;+ --accent-secondary: #c4a7e7;+ --accent-tertiary: #9ccfd8;+ --text-primary: #e0def4;+ --text-secondary: #908caa;+ --text-muted: #6e6a86;+ --border-color: #403d52;+ --success-color: #9ccfd8;+ --warning-color: #f6c177;+ --error-color: #eb6f92;++ --bg-primary-rgb: 25, 23, 36;+ --bg-secondary-rgb: 31, 29, 46;+ --bg-tertiary-rgb: 38, 35, 58;+ --accent-primary-rgb: 235, 188, 186;+ --accent-secondary-rgb: 196, 167, 231;+ --accent-tertiary-rgb: 156, 207, 216;+ --text-primary-rgb: 224, 222, 244;+ --text-secondary-rgb: 144, 140, 170;+ --text-muted-rgb: 110, 106, 134;+ --border-color-rgb: 64, 61, 82;+ --success-color-rgb: 156, 207, 216;+ --warning-color-rgb: 246, 193, 119;+ --error-color-rgb: 235, 111, 146;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);+ --glow-effect: 0 0 15px rgba(235, 188, 186, 0.2);+ --gradient-bg: linear-gradient(135deg, #1f1d2e 0%, #191724 100%);+ --overlay-color: rgba(25, 23, 36, 0.8);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Rosé Pine Dawn Theme - Warm light variant */+[data-theme="rose-pine-dawn"] {+ --bg-primary: #faf4ed;+ --bg-secondary: #fffaf3;+ --bg-tertiary: #f2e9e1;+ --accent-primary: #d7827e;+ --accent-secondary: #907aa9;+ --accent-tertiary: #56949f;+ --text-primary: #575279;+ --text-secondary: #797593;+ --text-muted: #9893a5;+ --border-color: #dfdad9;+ --success-color: #56949f;+ --warning-color: #ea9d34;+ --error-color: #b4637a;++ --bg-primary-rgb: 250, 244, 237;+ --bg-secondary-rgb: 255, 250, 243;+ --bg-tertiary-rgb: 242, 233, 225;+ --accent-primary-rgb: 215, 130, 126;+ --accent-secondary-rgb: 144, 122, 169;+ --accent-tertiary-rgb: 86, 148, 159;+ --text-primary-rgb: 87, 82, 121;+ --text-secondary-rgb: 121, 117, 147;+ --text-muted-rgb: 152, 147, 165;+ --border-color-rgb: 223, 218, 217;+ --success-color-rgb: 86, 148, 159;+ --warning-color-rgb: 234, 157, 52;+ --error-color-rgb: 180, 99, 122;++ --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);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Everforest Dark Theme - Green-based eye protection */+[data-theme="everforest-dark"] {+ --bg-primary: #2D353B;+ --bg-secondary: #343F44;+ --bg-tertiary: #3D484D;+ --accent-primary: #A7C080;+ --accent-secondary: #83C092;+ --accent-tertiary: #7FBBB3;+ --text-primary: #D3C6AA;+ --text-secondary: #9DA9A0;+ --text-muted: #859289;+ --border-color: #4F585E;+ --success-color: #A7C080;+ --warning-color: #DBBC7F;+ --error-color: #E67E80;++ --bg-primary-rgb: 45, 53, 59;+ --bg-secondary-rgb: 52, 63, 68;+ --bg-tertiary-rgb: 61, 72, 77;+ --accent-primary-rgb: 167, 192, 128;+ --accent-secondary-rgb: 131, 192, 146;+ --accent-tertiary-rgb: 127, 187, 179;+ --text-primary-rgb: 211, 198, 170;+ --text-secondary-rgb: 157, 169, 160;+ --text-muted-rgb: 133, 146, 137;+ --border-color-rgb: 79, 88, 94;+ --success-color-rgb: 167, 192, 128;+ --warning-color-rgb: 219, 188, 127;+ --error-color-rgb: 230, 126, 128;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);+ --glow-effect: 0 0 15px rgba(167, 192, 128, 0.2);+ --gradient-bg: linear-gradient(135deg, #343F44 0%, #2D353B 100%);+ --overlay-color: rgba(45, 53, 59, 0.8);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Everforest Light Theme - Soft green warmth */+[data-theme="everforest-light"] {+ --bg-primary: #FDF6E3;+ --bg-secondary: #F4F0D9;+ --bg-tertiary: #E6E2CC;+ --accent-primary: #8DA101;+ --accent-secondary: #35A77C;+ --accent-tertiary: #3A94C5;+ --text-primary: #5C6A72;+ --text-secondary: #829181;+ --text-muted: #A6B0A0;+ --border-color: #E0DCC7;+ --success-color: #8DA101;+ --warning-color: #DFA000;+ --error-color: #F85552;++ --bg-primary-rgb: 253, 246, 227;+ --bg-secondary-rgb: 244, 240, 217;+ --bg-tertiary-rgb: 230, 226, 204;+ --accent-primary-rgb: 141, 161, 1;+ --accent-secondary-rgb: 53, 167, 124;+ --accent-tertiary-rgb: 58, 148, 197;+ --text-primary-rgb: 92, 106, 114;+ --text-secondary-rgb: 130, 145, 129;+ --text-muted-rgb: 166, 176, 160;+ --border-color-rgb: 224, 220, 199;+ --success-color-rgb: 141, 161, 1;+ --warning-color-rgb: 223, 160, 0;+ --error-color-rgb: 248, 85, 82;++ --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);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Night Owl Theme - Accessibility-focused for low light */+[data-theme="night-owl"] {+ --bg-primary: #011627;+ --bg-secondary: #0b2942;+ --bg-tertiary: #1d3b53;+ --accent-primary: #82aaff;+ --accent-secondary: #c792ea;+ --accent-tertiary: #7fdbca;+ --text-primary: #d6deeb;+ --text-secondary: #89a4bb;+ --text-muted: #5f7e97;+ --border-color: #234d70;+ --success-color: #9CCC65;+ --warning-color: #FFCA28;+ --error-color: #EF5350;++ --bg-primary-rgb: 1, 22, 39;+ --bg-secondary-rgb: 11, 41, 66;+ --bg-tertiary-rgb: 29, 59, 83;+ --accent-primary-rgb: 130, 170, 255;+ --accent-secondary-rgb: 199, 146, 234;+ --accent-tertiary-rgb: 127, 219, 202;+ --text-primary-rgb: 214, 222, 235;+ --text-secondary-rgb: 137, 164, 187;+ --text-muted-rgb: 95, 126, 151;+ --border-color-rgb: 35, 77, 112;+ --success-color-rgb: 156, 204, 101;+ --warning-color-rgb: 255, 202, 40;+ --error-color-rgb: 239, 83, 80;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);+ --glow-effect: 0 0 15px rgba(130, 170, 255, 0.2);+ --gradient-bg: linear-gradient(135deg, #0b2942 0%, #011627 100%);+ --overlay-color: rgba(1, 22, 39, 0.85);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Ayu Mirage Theme - Modern minimalist twilight */+[data-theme="ayu-mirage"] {+ --bg-primary: #1F2430;+ --bg-secondary: #242936;+ --bg-tertiary: #2D3440;+ --accent-primary: #FFCC66;+ --accent-secondary: #73D0FF;+ --accent-tertiary: #87D96C;+ --text-primary: #CCCAC2;+ --text-secondary: #B8CFE6;+ --text-muted: #707A8C;+ --border-color: #3D4455;+ --success-color: #87D96C;+ --warning-color: #FFD173;+ --error-color: #FF6666;++ --bg-primary-rgb: 31, 36, 48;+ --bg-secondary-rgb: 36, 41, 54;+ --bg-tertiary-rgb: 45, 52, 64;+ --accent-primary-rgb: 255, 204, 102;+ --accent-secondary-rgb: 115, 208, 255;+ --accent-tertiary-rgb: 135, 217, 108;+ --text-primary-rgb: 204, 202, 194;+ --text-secondary-rgb: 184, 207, 230;+ --text-muted-rgb: 112, 122, 140;+ --border-color-rgb: 61, 68, 85;+ --success-color-rgb: 135, 217, 108;+ --warning-color-rgb: 255, 209, 115;+ --error-color-rgb: 255, 102, 102;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);+ --glow-effect: 0 0 15px rgba(255, 204, 102, 0.2);+ --gradient-bg: linear-gradient(135deg, #242936 0%, #1F2430 100%);+ --overlay-color: rgba(31, 36, 48, 0.85);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Kanagawa Theme - Japanese-inspired (The Great Wave) */+[data-theme="kanagawa"] {+ --bg-primary: #1F1F28;+ --bg-secondary: #2A2A37;+ --bg-tertiary: #363646;+ --accent-primary: #7E9CD8;+ --accent-secondary: #957FB8;+ --accent-tertiary: #7AA89F;+ --text-primary: #DCD7BA;+ --text-secondary: #C8C093;+ --text-muted: #727169;+ --border-color: #54546D;+ --success-color: #98BB6C;+ --warning-color: #E6C384;+ --error-color: #C34043;++ --bg-primary-rgb: 31, 31, 40;+ --bg-secondary-rgb: 42, 42, 55;+ --bg-tertiary-rgb: 54, 54, 70;+ --accent-primary-rgb: 126, 156, 216;+ --accent-secondary-rgb: 149, 127, 184;+ --accent-tertiary-rgb: 122, 168, 159;+ --text-primary-rgb: 220, 215, 186;+ --text-secondary-rgb: 200, 192, 147;+ --text-muted-rgb: 114, 113, 105;+ --border-color-rgb: 84, 84, 109;+ --success-color-rgb: 152, 187, 108;+ --warning-color-rgb: 230, 195, 132;+ --error-color-rgb: 195, 64, 67;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);+ --glow-effect: 0 0 15px rgba(126, 156, 216, 0.2);+ --gradient-bg: linear-gradient(135deg, #2A2A37 0%, #1F1F28 100%);+ --overlay-color: rgba(31, 31, 40, 0.85);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}++/* Palenight Theme - Material Design inspired purple */+[data-theme="palenight"] {+ --bg-primary: #292D3E;+ --bg-secondary: #303348;+ --bg-tertiary: #3a3e52;+ --accent-primary: #82aaff;+ --accent-secondary: #c792ea;+ --accent-tertiary: #89ddff;+ --text-primary: #A6ACCD;+ --text-secondary: #959dcb;+ --text-muted: #676E95;+ --border-color: #4e5579;+ --success-color: #c3e88d;+ --warning-color: #ffcb6b;+ --error-color: #ff5370;++ --bg-primary-rgb: 41, 45, 62;+ --bg-secondary-rgb: 48, 51, 72;+ --bg-tertiary-rgb: 58, 62, 82;+ --accent-primary-rgb: 130, 170, 255;+ --accent-secondary-rgb: 199, 146, 234;+ --accent-tertiary-rgb: 137, 221, 255;+ --text-primary-rgb: 166, 172, 205;+ --text-secondary-rgb: 149, 157, 203;+ --text-muted-rgb: 103, 110, 149;+ --border-color-rgb: 78, 85, 121;+ --success-color-rgb: 195, 232, 141;+ --warning-color-rgb: 255, 203, 107;+ --error-color-rgb: 255, 83, 112;++ --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);+ --glow-effect: 0 0 15px rgba(130, 170, 255, 0.25);+ --gradient-bg: linear-gradient(135deg, #303348 0%, #292D3E 100%);+ --overlay-color: rgba(41, 45, 62, 0.85);+ --backdrop-blur: blur(10px);+ --primary-color: var(--accent-primary);+ --card-bg: var(--bg-secondary);+}+/* ====================================THEME-SPECIFIC ADJUSTMENTS==================================== */diff --git a/tests/theme_tests/test_theme_system.py b/tests/theme_tests/test_theme_system.pyindex fd20a26ccd..e58c4f0fc7 100644--- a/tests/theme_tests/test_theme_system.py+++ b/tests/theme_tests/test_theme_system.py@@ -62,7 +62,7 @@ REQUIRED_RGB_VARIANTS = ["--error-color-rgb",]-# All 20 themes that should be defined+# All 30 themes that should be definedALL_THEMES = ["dark","light",@@ -84,6 +84,17 @@ ALL_THEMES = ["tokyo-night","catppuccin","one-dark",+ # Research-focused themes+ "flexoki-dark",+ "flexoki-light",+ "rose-pine",+ "rose-pine-dawn",+ "everforest-dark",+ "everforest-light",+ "night-owl",+ "ayu-mirage",+ "kanagawa",+ "palenight",]# Hex color pattern (matches #fff, #ffffff, #FFFFFF)@@ -443,10 +454,27 @@ class TestDarkLightThemes:"high-contrast","rose","lavender",+ # New research-focused dark themes+ "flexoki-dark",+ "rose-pine",+ "everforest-dark",+ "night-owl",+ "ayu-mirage",+ "kanagawa",+ "palenight",]# Themes that should have light backgrounds- LIGHT_THEMES = ["light", "sepia", "solarized-light", "gruvbox-light"]+ LIGHT_THEMES = [+ "light",+ "sepia",+ "solarized-light",+ "gruvbox-light",+ # New research-focused light themes+ "flexoki-light",+ "rose-pine-dawn",+ "everforest-light",+ ]@pytest.fixturedef themes_css_content(self):@@ -916,13 +944,13 @@ class TestThemeNamingConventions:)def test_theme_count(self, themes_css_content):- """Should have exactly 20 themes defined with data-theme attribute."""+ """Should have exactly 30 themes defined with data-theme attribute."""theme_pattern = re.compile(r'\[data-theme="([^"]+)"\]')themes = set(theme_pattern.findall(themes_css_content))- # All 20 themes should have data-theme definitions- assert len(themes) == 20, (- f"Expected 20 data-theme themes, found {len(themes)}: {themes}"+ # All 30 themes should have data-theme definitions+ assert len(themes) == 30, (+ f"Expected 30 data-theme themes, found {len(themes)}: {themes}")