Files
patriothacks/src/admin
OmO Orchestrator adb3bde4ee refactor(admin): migrate AdminSeedPanel inline styles to a CSS module
AdminSeedPanel.tsx was 100% inline-styled with hardcoded hex colors that
didn't match the app's real design tokens (e.g. error #b00020 vs the real
--color-negative #d4380d). Extract every static style={{...}} into
AdminSeedPanel.module.css, mapping each value to the matching token:
- #555 text -> var(--color-ink-soft)
- #b00020 error -> var(--color-negative)
- #1a7a1a success -> var(--color-positive)
- #8a6d00 disclaimer -> var(--color-warning-strong)
- #ddd section border -> var(--color-border)
- 24px/16px spacing -> var(--space-6)/var(--space-4)
- system-ui font stack -> var(--sans)

Follows the exact class-naming/value convention already used by the
sibling AdminAggregatePanel.module.css (container, section, heading,
description, error). No layout/structure change; visual proportions are
preserved except for the off-brand colors being corrected.

Verified: vitest run src/admin/AdminSeedPanel.test.tsx (11/11 passing),
npm run build (clean), npx oxlint on both changed files (clean), and a
Playwright before/after screenshot comparison of the live /admin route.
2026-11-20 19:57:12 -05:00
..