Changeset 0251bae in Klonkt
- Timestamp:
- 06/21/2026 08:14:38 PM (3 months ago)
- Branches:
- main
- Children:
- 2dc18c4
- Parents:
- b27cde6
- Location:
- src
- Files:
-
- 3 edited
-
assets/css/style.css (modified) (1 diff)
-
services/ThemeService.js (modified) (2 diffs)
-
views/shell.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/css/style.css
rb27cde6 r0251bae 261 261 } 262 262 263 /* ── SLATE ── koel grijsblauw → antraciet ──*/263 /* ── GOUD ── warm goudgeel → diep amber ── (key blijft 'slate' voor DB-compat) */ 264 264 [data-palette="slate"] { 265 --paper: #f 4f6f8; --paper-2: #e2e8ee;266 --ink: # 1a232e; --ink-soft: #2e3c4d; --ink-muted: #56657a; --ink-faint: #93a1b3;267 --rule: # cdd6e0; --rule-2: #aebbc9;265 --paper: #fdf8ea; --paper-2: #f5ebcc; 266 --ink: #2a2410; --ink-soft: #4a3f1c; --ink-muted: #7a6c3e; --ink-faint: #b3a474; 267 --rule: #ece0bf; --rule-2: #ddca94; 268 268 } 269 269 @media (prefers-color-scheme: dark) { 270 270 [data-palette="slate"]:not([data-theme="light"]) { 271 --paper: # 0d1117; --paper-2: #1a2029;272 --ink: # e6edf3; --ink-soft: #c2cdd9; --ink-muted: #8b98a8; --ink-faint: #5a6675;273 --rule: # 283039; --rule-2: #3a444f;271 --paper: #1a1608; --paper-2: #2a2410; 272 --ink: #f7eecd; --ink-soft: #e0d29f; --ink-muted: #b3a06a; --ink-faint: #7a6c3e; 273 --rule: #4a3f1c; --rule-2: #5e5028; 274 274 } 275 275 } 276 276 [data-theme="dark"][data-palette="slate"] { 277 --paper: # 0d1117; --paper-2: #1a2029;278 --ink: # e6edf3; --ink-soft: #c2cdd9; --ink-muted: #8b98a8; --ink-faint: #5a6675;279 --rule: # 283039; --rule-2: #3a444f;280 } 281 282 /* ── MINT ── fris mintgroen → diep teal ──*/277 --paper: #1a1608; --paper-2: #2a2410; 278 --ink: #f7eecd; --ink-soft: #e0d29f; --ink-muted: #b3a06a; --ink-faint: #7a6c3e; 279 --rule: #4a3f1c; --rule-2: #5e5028; 280 } 281 282 /* ── TERRACOTTA ── warme klei → diep brick ── (key blijft 'mint' voor DB-compat) */ 283 283 [data-palette="mint"] { 284 --paper: # effaf5; --paper-2: #d6f0e4;285 --ink: # 0f2e22; --ink-soft: #1d4a39; --ink-muted: #468066; --ink-faint: #82b3a0;286 --rule: # c0e6d6; --rule-2: #9ad3bd;284 --paper: #faf2ee; --paper-2: #f2ddd0; 285 --ink: #2e1a12; --ink-soft: #4a2c1e; --ink-muted: #7a5544; --ink-faint: #b3917e; 286 --rule: #eccdbb; --rule-2: #ddb49d; 287 287 } 288 288 @media (prefers-color-scheme: dark) { 289 289 [data-palette="mint"]:not([data-theme="light"]) { 290 --paper: # 06201a; --paper-2: #0f3329;291 --ink: # d6f5e9; --ink-soft: #aee0cd; --ink-muted: #79b59f; --ink-faint: #4e8270;292 --rule: # 1c4a3c; --rule-2: #2a5e4d;290 --paper: #1f120c; --paper-2: #2e1c13; 291 --ink: #f7e6da; --ink-soft: #e0c3b0; --ink-muted: #b3917c; --ink-faint: #7a5544; 292 --rule: #4a2c1e; --rule-2: #5e3a28; 293 293 } 294 294 } 295 295 [data-theme="dark"][data-palette="mint"] { 296 --paper: # 06201a; --paper-2: #0f3329;297 --ink: # d6f5e9; --ink-soft: #aee0cd; --ink-muted: #79b59f; --ink-faint: #4e8270;298 --rule: # 1c4a3c; --rule-2: #2a5e4d;296 --paper: #1f120c; --paper-2: #2e1c13; 297 --ink: #f7e6da; --ink-soft: #e0c3b0; --ink-muted: #b3917c; --ink-faint: #7a5544; 298 --rule: #4a2c1e; --rule-2: #5e3a28; 299 299 } 300 300 -
src/services/ThemeService.js
rb27cde6 r0251bae 64 64 dark: { paper: '#1f0a0f', ink: '#fce4ea', accent: '#f06b9a' } 65 65 }, 66 // key blijft 'slate' (DB-veilig), maar omgekleurd naar warm Goud — minder blauw. 66 67 slate: { 67 name: 'Slate', 68 light: { paper: '#f4f6f8', ink: '#1a232e', accent: '#475569' }, 69 dark: { paper: '#0d1117', ink: '#e6edf3', accent: '#8b98a8' } 70 }, 68 name: 'Goud', 69 light: { paper: '#fdf8ea', ink: '#2a2410', accent: '#b8860b' }, 70 dark: { paper: '#1a1608', ink: '#f7eecd', accent: '#d4a72c' } 71 }, 72 // key blijft 'mint' (DB-veilig), maar omgekleurd naar warm Terracotta — minder groen. 71 73 mint: { 72 name: ' Mint',73 light: { paper: '# effaf5', ink: '#0f2e22', accent: '#0d9488' },74 dark: { paper: '# 06201a', ink: '#d6f5e9', accent: '#2dd4bf' }74 name: 'Terracotta', 75 light: { paper: '#faf2ee', ink: '#2e1a12', accent: '#c2410c' }, 76 dark: { paper: '#1f120c', ink: '#f7e6da', accent: '#e8783f' } 75 77 }, 76 78 lilac: { … … 86 88 * Each color works against both light and dark themes. 87 89 */ 90 // Evenwichtig over het kleurenwiel — minder groen/blauw (4 van de 12), 91 // meer warme + paars/roze variatie. Allemaal leesbaar op licht én donker. 88 92 static ACCENTS = [ 89 { key: 'orange', name: 'Oranje', color: '#c2410c' }, 90 { key: 'sage', name: 'Salie', color: '#5a8a5a' }, 91 { key: 'ocean', name: 'Oceaan', color: '#0369a1' }, 92 { key: 'forest', name: 'Bos', color: '#16a34a' }, 93 { key: 'plum', name: 'Pruim', color: '#9d3a78' }, 94 { key: 'gold', name: 'Goud', color: '#d97706' }, 95 { key: 'crimson', name: 'Karmijn', color: '#ef2840' }, 96 { key: 'indigo', name: 'Indigo', color: '#6366f1' }, 93 { key: 'red', name: 'Rood', color: '#dc2626' }, 94 { key: 'orange', name: 'Oranje', color: '#ea580c' }, 95 { key: 'amber', name: 'Amber', color: '#d97706' }, 96 { key: 'gold', name: 'Goud', color: '#ca8a04' }, 97 { key: 'forest', name: 'Groen', color: '#16a34a' }, 97 98 { key: 'teal', name: 'Turquoise', color: '#0d9488' }, 98 { key: 'pink', name: 'Roze', color: '#ec4899' }, 99 { key: 'violet', name: 'Violet', color: '#7c3aed' }, 100 { key: 'sky', name: 'Hemelsblauw', color: '#0ea5e9' }, 99 { key: 'ocean', name: 'Blauw', color: '#2563eb' }, 100 { key: 'indigo', name: 'Indigo', color: '#4f46e5' }, 101 { key: 'violet', name: 'Violet', color: '#7c3aed' }, 102 { key: 'plum', name: 'Magenta', color: '#c026d3' }, 103 { key: 'pink', name: 'Roze', color: '#db2777' }, 104 { key: 'brown', name: 'Bruin', color: '#9a3412' }, 101 105 ]; 102 106 -
src/views/shell.ejs
rb27cde6 r0251bae 163 163 164 164 <!-- v9 stylesheet (full palette system) --> 165 <link rel="stylesheet" href="/assets/css/style.css?v= 29">165 <link rel="stylesheet" href="/assets/css/style.css?v=30"> 166 166 167 167 <!-- Audio player styles: loaded on every page so the mini-player works
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)