No description
- Colour tokens in index.css named by role (ink, body, muted, link, brand, action, surface, tint, danger), used everywhere instead of hex - Dark mode: follows the system, a header toggle (site and admin) overrides it and is remembered; set before first paint in index.html - Data colours go through src/lib/color.ts: withAlpha for tints, accentText (lighter on dark) for text in an accent, readableOn for text on one, so an admin's pale colour still reads - Migration 040 drops events.gradient: a card is its photo or plain, with its colour as the border; other decorative gradients are solid - The countdown and a hero event without a photo mix their colour toward ink behind white text Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| server | ||
| src | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| site.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
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 inCLAUDE.md.