Farbschema wie VVL-Tool, Dark Mode und lila Textmarkierung

- Farbwerte (hell/dunkel), IBM Plex Sans und Textmarkierung aus dem VVL-Tool übernommen
- Umschalter Hell/Dunkel in der Kopfzeile, Wahl wird gemerkt (Standard: Systemeinstellung)
- Kopfleiste <hi-topbar> folgt dem Farbschema des jeweiligen Tools

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kerimatilganandClaude Opus 5.5 committed 2026-09-27 13:35:55 +02:00
1 parent cfe59e3652
commit 97acf2cb66
11 files changed
+221 -68

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
// Setzt das Farbschema vor dem ersten Rendern (verhindert Aufblitzen im Dark Mode).
(function () {
var t;
try { t = localStorage.getItem('hi-theme'); } catch (e) {}
if (t !== 'light' && t !== 'dark') t = matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
document.documentElement.setAttribute('data-theme', t);
})();