Changeset 9b851e7 in Klonkt for src/server.js


Ignore:
Timestamp:
06/23/2026 03:45:10 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
5416101
Parents:
cb01666
Message:

fix: fresh install uses klonkt defaults (navy + #e8b04b), not old orange

No-site fallbacks (shell.ejs accent+palette, render.js navAccent, server.js
favicon) were still set to #c2410c/'sage'; ensurePrimarySite also created a
sage/orange site. Now the klonkt brand colours are applied everywhere on a
fresh install.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/server.js

    rcb01666 r9b851e7  
    338338// content there with a forgiving content-type since modern browsers accept it.
    339339function _renderFavicon(res, accent) {
    340   const safeAccent = /^#[0-9a-fA-F]{3,8}$/.test(accent) ? accent : '#c2410c';
     340  const safeAccent = /^#[0-9a-fA-F]{3,8}$/.test(accent) ? accent : '#e8b04b';
    341341  // Site mark: rounded square in the site accent + bold white 'K' (Klonkt)
    342342  const svg = `<?xml version="1.0" encoding="UTF-8"?>
Note: See TracChangeset for help on using the changeset viewer.