mirror of
https://github.com/go-sigma/sigma.git
synced 2026-10-28 15:34:34 +08:00
The legacy pages still used scattered Tailwind colors (purple, blue, indigo) as interactive accents, so the app drifted away from the single neutral `--primary` accent of the design system. Replace them with tokens: - purple primary buttons -> bg-primary / text-primary-foreground - gray secondary buttons -> bg-secondary - indigo active tabs -> border-primary / text-foreground - purple and indigo focus rings -> focus:ring-ring - blue switches -> peer-checked:bg-primary, with the knob switched to primary-foreground while checked so it stays visible in dark mode - blue checkboxes -> accent-primary - blue links and the Dockerfile editor selection -> text-primary and selection:bg-foreground Verification: - cd web && npx oxlint - cd web && bun run build