Zweiter Stil: Blau statt Gold (v1.7)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
36
tokens.css
36
tokens.css
@ -125,34 +125,34 @@
|
||||
}
|
||||
|
||||
/*
|
||||
* Stil „Gold" (aus Studio): ersetzt nur die Akzent-Tokens.
|
||||
* Aktivierung per data-accent="gold" am <html>-Element; ohne Attribut gilt Orange.
|
||||
* Stil „Blau": ersetzt nur die Akzent-Tokens.
|
||||
* Aktivierung per data-accent="blue" am <html>-Element; ohne Attribut gilt Orange.
|
||||
* Gleiche Theme-Logik wie oben: Dunkel ist Fallback, Hell per Systemeinstellung oder data-theme="light".
|
||||
*/
|
||||
:root[data-accent="gold"] {
|
||||
--accent: #e0b84a;
|
||||
--accent-strong: #e0b84a;
|
||||
--accent-soft: rgba(224, 184, 74, .14);
|
||||
--accent-text: #141821;
|
||||
--bg-glow: rgba(224, 184, 74, .10);
|
||||
:root[data-accent="blue"] {
|
||||
--accent: #6aa9ff;
|
||||
--accent-strong: #6aa9ff;
|
||||
--accent-soft: rgba(106, 169, 255, .14);
|
||||
--accent-text: #0a1428;
|
||||
--bg-glow: rgba(106, 169, 255, .10);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-accent="gold"]:not([data-theme="dark"]) {
|
||||
--accent: #b07d00;
|
||||
--accent-strong: #8c5f00;
|
||||
--accent-soft: rgba(140, 95, 0, .14);
|
||||
:root[data-accent="blue"]:not([data-theme="dark"]) {
|
||||
--accent: #3b82f6;
|
||||
--accent-strong: #1d5fc4;
|
||||
--accent-soft: rgba(29, 95, 196, .14);
|
||||
--accent-text: #ffffff;
|
||||
--bg-glow: rgba(224, 184, 74, .16);
|
||||
--bg-glow: rgba(59, 130, 246, .14);
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-accent="gold"][data-theme="light"] {
|
||||
--accent: #b07d00;
|
||||
--accent-strong: #8c5f00;
|
||||
--accent-soft: rgba(140, 95, 0, .14);
|
||||
:root[data-accent="blue"][data-theme="light"] {
|
||||
--accent: #3b82f6;
|
||||
--accent-strong: #1d5fc4;
|
||||
--accent-soft: rgba(29, 95, 196, .14);
|
||||
--accent-text: #ffffff;
|
||||
--bg-glow: rgba(224, 184, 74, .16);
|
||||
--bg-glow: rgba(59, 130, 246, .14);
|
||||
}
|
||||
|
||||
/* Sichtbarer Tastaturfokus für alle bedienbaren Elemente */
|
||||
|
||||
Reference in New Issue
Block a user