Changeset 834bcc3 in Klonkt for src/services/ThemeService.js


Ignore:
Timestamp:
06/23/2026 06:14:27 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
d774679
Parents:
bb42dfb
Message:

i18n: translate Dutch code comments to English across src/

Comments in routes/services/views/config/middleware/assets translated to
English for the public repo. A few dev-facing throw/console message strings
were Englished too. No user-facing UI strings or i18n dictionary values changed
(src/services/i18n.js untouched). Logic unchanged.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/ThemeService.js

    rbb42dfb r834bcc3  
    1616
    1717class ThemeService {
    18   // Paper/ink komen 1-op-1 uit de [data-palette]-CSS in style.css (= wat ECHT
    19   // wordt toegepast); de accent-stip is een representatieve kleur per palet.
     18  // Paper/ink values map 1-to-1 from the [data-palette] CSS in style.css (= what
     19  // is ACTUALLY applied); the accent dot is a representative color per palette.
    2020  static PALETTES = {
    21     // Merk-standaard — komt overeen met klonkt.com (donkerblauw + geel).
     21    // Brand default — matches klonkt.com (dark blue + gold).
    2222    klonkt: {
    2323      name: 'Klonkt',
     
    6565      dark: { paper: '#1f0a0f', ink: '#fce4ea', accent: '#f06b9a' }
    6666    },
    67     // key blijft 'mint' (DB-veilig), maar omgekleurd naar warm Terracotta — minder groen.
     67    // key stays 'mint' (DB-safe), but recolored to warm Terracotta — less green.
    6868    mint: {
    6969      name: 'Terracotta',
     
    8383   * Each color works against both light and dark themes.
    8484   */
    85   // Evenwichtig over het kleurenwiel — minder groen/blauw (4 van de 12),
    86   // meer warme + paars/roze variatie. Allemaal leesbaar op licht én donker.
     85  // Balanced across the color wheel — fewer greens/blues (4 of 12),
     86  // more warm + purple/pink variation. All readable on both light and dark.
    8787  static ACCENTS = [
    8888    { key: 'klonkt',  name: 'Klonkt-geel', color: '#e8b04b' },
Note: See TracChangeset for help on using the changeset viewer.