No description
Find a file
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
docs Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
server Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
src Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
.gitignore Harden security found in the audit 2026-09-28 21:56:49 -05:00
CLAUDE.md Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
index.html Add colour tokens, dark mode and drop gradients 2026-09-28 22:42:59 -05:00
package.json Call the descriptor sync once at boot, and rename the package 2026-09-26 18:26:12 -05:00
pnpm-lock.yaml Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
README.md Clean up code found in the audit 2026-09-28 22:02:03 -05:00
site.json Add the Privacy and Terms pages, data requests and click-to-load embeds 2026-09-28 22:34:46 -05:00
tsconfig.json Clean up code found in the audit 2026-09-28 22:02:03 -05:00
vite.config.ts Clean up code found in the audit 2026-09-28 22:02:03 -05:00

NGU-Web

Website for NGU (Next Generation of Unity): a public site and a role-based admin panel.

  • Frontend: React, TypeScript, Tailwind, Vite (src/). pnpm dev, pnpm build.
  • API: Hono on Node 22.13+, SQLite (server/). DB_PATH=./dev.db pnpm dev.
  • Accounts are made with server/src/admin-cli.js.
  • Deployment and setup notes are in docs/; working notes for contributors are in CLAUDE.md.