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.

Rename dark theme to 'Hashed' to credit creator Hashed Viking

LearningCircuit37e8535958a3
diff --git a/src/local_deep_research/web/static/css/themes.css b/src/local_deep_research/web/static/css/themes.css
index 7c3d9f155f..3c14b9f8c8 100644
--- a/src/local_deep_research/web/static/css/themes.css
+++ b/src/local_deep_research/web/static/css/themes.css
@@ -3,9 +3,9 @@
Local Deep Research Multi-Theme System
==================================== */
-/* Dark Theme (Default) - Purple accent on dark background */
+/* Hashed Theme (Default) - Purple accent on dark background, created by Hashed Viking */
:root,
-[data-theme="dark"] {
+[data-theme="hashed"] {
--bg-primary: #121212;
--bg-secondary: #1e1e2d;
--bg-tertiary: #2a2a3a;
diff --git a/src/local_deep_research/web/static/js/services/theme.js b/src/local_deep_research/web/static/js/services/theme.js
index 42ffa0ee11..189c67bfb7 100644
--- a/src/local_deep_research/web/static/js/services/theme.js
+++ b/src/local_deep_research/web/static/js/services/theme.js
@@ -23,7 +23,7 @@
// This avoids having to maintain duplicate theme lists
const THEMES = window.LDR_THEME_METADATA || {
// Fallback in case metadata wasn't injected (shouldn't happen)
- 'dark': { label: 'Dark', icon: 'fa-moon', group: 'core' },
+ 'hashed': { label: 'Hashed', icon: 'fa-hashtag', group: 'core' },
'light': { label: 'Light', icon: 'fa-sun', group: 'core' },
'system': { label: 'System', icon: 'fa-desktop', group: 'system' }
};
@@ -32,7 +32,7 @@
const VALID_THEMES = Object.keys(THEMES);
// Theme cycle order for quick toggle button (subset of popular themes)
- const THEME_CYCLE = ['dark', 'light', 'nord', 'dracula'];
+ const THEME_CYCLE = ['hashed', 'light', 'nord', 'dracula'];
/**
* Get user ID from page context (if available)
@@ -68,7 +68,7 @@
*/
function getEffectiveTheme(theme) {
if (theme === 'system') {
- return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
+ return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'hashed' : 'light';
}
return theme;
}
@@ -78,7 +78,7 @@
*/
function getCurrentTheme() {
const storageKey = getStorageKey();
- return localStorage.getItem(storageKey) || 'dark';
+ return localStorage.getItem(storageKey) || 'hashed';
}
/**
@@ -160,8 +160,8 @@
function setTheme(theme, syncToServer = true) {
// Validate theme using VALID_THEMES array
if (!VALID_THEMES.includes(theme)) {
- console.warn('Invalid theme:', theme, '- falling back to dark');
- theme = 'dark';
+ console.warn('Invalid theme:', theme, '- falling back to hashed');
+ theme = 'hashed';
}
applyTheme(theme);
@@ -276,7 +276,7 @@
// Set tooltip for next theme in cycle
const nextIndex = (THEME_CYCLE.indexOf(rawTheme) + 1) % THEME_CYCLE.length;
- const nextTheme = THEME_CYCLE[nextIndex] || 'dark';
+ const nextTheme = THEME_CYCLE[nextIndex] || 'hashed';
quickToggle.setAttribute('title', `Switch to ${THEMES[nextTheme]?.label || nextTheme} theme`);
quickToggle.setAttribute('aria-label', `Current theme: ${THEMES[rawTheme]?.label || rawTheme}. Click to switch.`);
}
@@ -339,9 +339,9 @@
const storedTheme = getCurrentTheme();
// Validate stored theme (in case localStorage was corrupted)
- const validatedTheme = VALID_THEMES.includes(storedTheme) ? storedTheme : 'dark';
+ const validatedTheme = VALID_THEMES.includes(storedTheme) ? storedTheme : 'hashed';
if (validatedTheme !== storedTheme) {
- console.warn('Invalid stored theme, resetting to dark');
+ console.warn('Invalid stored theme, resetting to hashed');
applyTheme(validatedTheme);
}
diff --git a/src/local_deep_research/web/templates/base.html b/src/local_deep_research/web/templates/base.html
index ea3f6c3bb2..1c0c3a2dec 100644
--- a/src/local_deep_research/web/templates/base.html
+++ b/src/local_deep_research/web/templates/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en" data-theme="dark">
+<html lang="en" data-theme="hashed">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -19,14 +19,14 @@
var userId = '{{ session.username|default("anonymous", true) }}';
var storageKey = 'ldr-theme-' + userId;
- var theme = localStorage.getItem(storageKey) || 'dark';
+ var theme = localStorage.getItem(storageKey) || 'hashed';
// Validate theme
if (validThemes.indexOf(theme) === -1) {
- theme = 'dark';
+ theme = 'hashed';
}
var effectiveTheme = theme;
if (theme === 'system') {
- effectiveTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
+ effectiveTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'hashed' : 'light';
}
document.documentElement.setAttribute('data-theme', effectiveTheme);
})();
diff --git a/src/local_deep_research/web/utils/theme_helper.py b/src/local_deep_research/web/utils/theme_helper.py
index 1f3b043d2e..3d4130c0ee 100644
--- a/src/local_deep_research/web/utils/theme_helper.py
+++ b/src/local_deep_research/web/utils/theme_helper.py
@@ -17,7 +17,7 @@ class ThemeHelper:
# Only needs to be updated when adding NEW themes (not for validation)
THEME_METADATA = {
# Core themes
- "dark": {"label": "Dark", "icon": "fa-moon", "group": "core"},
+ "hashed": {"label": "Hashed", "icon": "fa-hashtag", "group": "core"},
"light": {"label": "Light", "icon": "fa-sun", "group": "core"},
"sepia": {"label": "Sepia", "icon": "fa-book-open", "group": "core"},
"high-contrast": {