NGU-Web/server/src
Zaldimmar f1edaaf92a Let superadmins change the whole colour palette
Panel -> Site settings -> Colours: any colour token, with a light and a
dark value (migration 041). The server writes the overrides into each
page's head in the same cascade layers as index.css, so a light-only
change leaves dark mode alone. Values must be #rrggbb (a table CHECK),
and saving refuses a palette that puts any text under 4.5:1 in either
mode, through a new descriptor hook, check(db, id), run inside the
save's transaction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 23:26:35 -05:00
..
migrations Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
routes Add colour tokens, dark mode and drop gradients 2026-09-28 22:42:59 -05:00
admin-cli.js Clean up code found in the audit 2026-09-28 22:02:03 -05:00
admin-crud.js Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
admin-schema-sync.js Clean up code found in the audit 2026-09-28 22:02:03 -05:00
admin-schema.js Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
auth.js Harden security found in the audit 2026-09-28 21:56:49 -05:00
clips.js Harden security found in the audit 2026-09-28 21:56:49 -05:00
db.js Fix bugs found in the audit 2026-09-28 21:53:46 -05:00
feeds.js Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
googleAuth.js Show Google sign-in even when site.json isn't deployed 2026-09-27 21:51:40 -05:00
index.js Finish the audit leftovers 2026-09-28 22:49:07 -05:00
linkPreview.js Harden security found in the audit 2026-09-28 21:56:49 -05:00
media.js List files copied into the uploads folder by hand in the media library 2026-09-27 23:53:09 -05:00
migrate-cli.js v1.3 - added an sqlite db and built data structure 2026-09-25 02:35:46 -05:00
pageMeta.js Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
rateLimit.js Clean up code found in the audit 2026-09-28 22:02:03 -05:00
seed-showcase.js Add colour tokens, dark mode and drop gradients 2026-09-28 22:42:59 -05:00
shape.js Fix accessibility found in the audit 2026-09-28 22:07:56 -05:00
theme.js Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00