diff --git a/THEMES.md b/THEMES.md index 66d8a0d..3dc46b8 100644 --- a/THEMES.md +++ b/THEMES.md @@ -1,6 +1,6 @@ # Hermes Web UI — Themes -Hermes Web UI supports pluggable color themes. Six themes ship built-in, and +Hermes Web UI supports pluggable color themes. Seven themes ship built-in, and you can create your own with pure CSS — no Python changes needed. --- @@ -27,6 +27,7 @@ preview is instant — the UI updates as you click through options. | **Solarized Dark** | Ethan Schoonover's classic dark palette. Teal background, warm accents. | | **Monokai** | Warm dark theme inspired by the Monokai editor scheme. Green/pink accents. | | **Nord** | Arctic blue-gray palette from the Nord color system. Calm and minimal. | +| **OLED** | True black (#000) backgrounds for OLED displays. Minimizes glow and burn-in risk. | | **Custom themes** | Any string accepted by `settings.json`, `POST /api/settings`, and `/theme` if added to the picker/command list. Pure CSS variables only. | --- diff --git a/static/commands.js b/static/commands.js index e02cbfc..480511e 100644 --- a/static/commands.js +++ b/static/commands.js @@ -10,7 +10,7 @@ const COMMANDS=[ {name:'workspace', desc:'Switch workspace by name', fn:cmdWorkspace, arg:'name'}, {name:'new', desc:'Start a new chat session', fn:cmdNew}, {name:'usage', desc:'Toggle token usage display on/off', fn:cmdUsage}, - {name:'theme', desc:'Switch theme (dark/light/slate/solarized/monokai/nord)', fn:cmdTheme, arg:'name'}, + {name:'theme', desc:'Switch theme (dark/light/slate/solarized/monokai/nord/oled)', fn:cmdTheme, arg:'name'}, {name:'personality', desc:'Switch agent personality', fn:cmdPersonality, arg:'name'}, ]; @@ -125,7 +125,7 @@ async function cmdUsage(){ } async function cmdTheme(args){ - const themes=['dark','light','slate','solarized','monokai','nord']; + const themes=['dark','light','slate','solarized','monokai','nord','oled']; if(!args||!themes.includes(args.toLowerCase())){ showToast('Usage: /theme '+themes.join('|')); return; diff --git a/static/index.html b/static/index.html index 3fdd670..27a57dd 100644 --- a/static/index.html +++ b/static/index.html @@ -342,6 +342,7 @@ +