Changeset 0251bae in Klonkt for src/services/ThemeService.js


Ignore:
Timestamp:
06/21/2026 08:14:38 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2dc18c4
Parents:
b27cde6
Message:

feat(themes): more colour variety — fewer greens/blues in accents + palettes

Accents: 12 redistributed across the colour wheel (red/orange/amber/gold/green/
teal/blue/indigo/violet/magenta/pink/brown) — green+blue reduced from 6 to 4.
Palettes: 'slate' (2nd blue) -> warm Gold, 'mint' (2nd green) -> warm Terracotta;
keys unchanged so existing sites don't break. style.css blocks + buster v30.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/ThemeService.js

    rb27cde6 r0251bae  
    6464      dark: { paper: '#1f0a0f', ink: '#fce4ea', accent: '#f06b9a' }
    6565    },
     66    // key blijft 'slate' (DB-veilig), maar omgekleurd naar warm Goud — minder blauw.
    6667    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.
    7173    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' }
    7577    },
    7678    lilac: {
     
    8688   * Each color works against both light and dark themes.
    8789   */
     90  // Evenwichtig over het kleurenwiel — minder groen/blauw (4 van de 12),
     91  // meer warme + paars/roze variatie. Allemaal leesbaar op licht én donker.
    8892  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' },
    9798    { 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' },
    101105  ];
    102106
Note: See TracChangeset for help on using the changeset viewer.