Feed browser: Redesign foundation #2

Merged
calcazar merged 8 commits from feature/feed-browser-redesign-foundation into develop 2026-10-19 22:02:37 -06:00
Owner

Milestone branch for Feed browser: Redesign foundation. Later tasks in this milestone add commits here.

3p1idvga1: Design tokens with dark and light themes and a persisted toggle

  • src/app/globals.css: @layer reset, base;, the spec's token table as a dark set (:root, [data-theme="dark"]) and a light set ([data-theme="light"]), crimson shades via color-mix(), radius and ease tokens, color-scheme per theme.
  • src/app/layout.tsx: inline pre-paint theme script in <head>, data-theme="dark" server default, suppressHydrationWarning.
  • src/lib/theme.ts (helper + script) and src/lib/use-theme.ts (useTheme: theme, setTheme, toggleTheme).
  • Old component rules moved to src/styles/legacy.css, recolored with tokens; old --red/--grey removed. Component tasks delete their rules from it.
  • Logo uses --accent.

Verified: typecheck, eslint, vitest (151 tests, incl. new tests/theme.test.ts with a no-raw-hex scan), next build.

Milestone branch for **Feed browser: Redesign foundation**. Later tasks in this milestone add commits here. ## 3p1idvga1: Design tokens with dark and light themes and a persisted toggle - `src/app/globals.css`: `@layer reset, base;`, the spec's token table as a dark set (`:root`, `[data-theme="dark"]`) and a light set (`[data-theme="light"]`), crimson shades via `color-mix()`, radius and ease tokens, `color-scheme` per theme. - `src/app/layout.tsx`: inline pre-paint theme script in `<head>`, `data-theme="dark"` server default, `suppressHydrationWarning`. - `src/lib/theme.ts` (helper + script) and `src/lib/use-theme.ts` (`useTheme`: theme, setTheme, toggleTheme). - Old component rules moved to `src/styles/legacy.css`, recolored with tokens; old `--red`/`--grey` removed. Component tasks delete their rules from it. - Logo uses `--accent`. Verified: typecheck, eslint, vitest (151 tests, incl. new `tests/theme.test.ts` with a no-raw-hex scan), `next build`.
calcazar added 1 commit 2026-10-19 21:47:26 -06:00
calcazar added 2 commits 2026-10-19 21:48:52 -06:00
calcazar added 1 commit 2026-10-19 21:50:42 -06:00
calcazar added 1 commit 2026-10-19 21:55:29 -06:00
calcazar added 1 commit 2026-10-19 21:57:04 -06:00
calcazar added 1 commit 2026-10-19 21:58:43 -06:00
calcazar added 1 commit 2026-10-19 22:01:58 -06:00
calcazar merged commit 9aeb9a379f into develop 2026-10-19 22:02:37 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: calcazar/frontend-helper#2