Changeset dd7e2a2 in Klonkt for src/routes/admin-sites.js


Ignore:
Timestamp:
06/22/2026 02:52:43 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
b20460e
Parents:
5eff581
Message:

feat(theme): default = Klonkt brand (dark navy + yellow, matches klonkt.com)

New 'klonkt' palette (navy #0b0d12 / off-white #f3f1ea) + accent Klonkt yellow
#e8b04b, set as default for new sites + all fallbacks (ThemeService,
admin-sites, site.js, render, auth, server theme_color). site.js palette list
was stale (8) -> now complete (13). style.css [data-palette=klonkt] + buster v31.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/admin-sites.js

    r5eff581 rdd7e2a2  
    109109    tagline: '',
    110110    language: 'nl',
    111     palette: 'sage',
    112     accent: '#c2410c',
     111    palette: 'klonkt',
     112    accent: '#e8b04b',
    113113    profile_photo: '',
    114114    profile_enabled: 1,
     
    232232    ownerId,
    233233    f.language || 'nl',
    234     f.palette || 'sage',
    235     ThemeService.validateAccent(f.accent) || '#c2410c',
     234    f.palette || 'klonkt',
     235    ThemeService.validateAccent(f.accent) || '#e8b04b',
    236236    f.profile_photo || null,
    237237    f.is_public ? 1 : 0,
     
    291291  // accent: only accept colors from the curated ACCENTS list. Falls back to
    292292  // the orange default if the submitted value isn't recognised.
    293   const accent = ThemeService.validateAccent(f.accent) || '#c2410c';
     293  const accent = ThemeService.validateAccent(f.accent) || '#e8b04b';
    294294
    295295  db.prepare(`
     
    312312    (f.tagline || '').slice(0, 200),
    313313    f.language || 'nl',
    314     f.palette || 'sage',
     314    f.palette || 'klonkt',
    315315    accent,
    316316    themeOverride,
Note: See TracChangeset for help on using the changeset viewer.