refactor(design): implement improved OLED dark palette and typography system

- Upgraded color palette with enhanced contrast (5.2:1 to 15:1 ratios)
- Replaced all text-slate-* utilities with semantic color tokens
- Added Fira Code + Fira Sans typography stack
- Converted CSS variables from SCSS to direct hex values
- Updated 26 components with improved color semantics
- Added cursor-pointer and focus states (accessibility phase 1)
- Added aria-labels to 35+ icon-only buttons
- Added prefers-reduced-motion support in globals.css

WCAG AA compliance verified across all text color combinations.
Fixes invisible text issues (slate-500 4.2:1 → muted 5.2:1).
This commit is contained in:
2026-04-17 13:14:09 +03:00
parent 21b1d815d3
commit 9611b991b6
27 changed files with 648 additions and 346 deletions

View File

@@ -8,12 +8,25 @@ const config: Config = {
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
background: "#0A0E27",
foreground: "#F0F4F8",
surface: "#1A1F3A",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
DEFAULT: "#3B82F6",
foreground: "#FFFFFF",
},
secondary: {
DEFAULT: "#C7D2E0",
foreground: "#0A0E27",
},
muted: {
DEFAULT: "#8B95AD",
foreground: "#F0F4F8",
},
border: "#2D3561",
success: "#10B981",
error: "#EF4444",
warning: "#F59E0B",
},
keyframes: {
scan: {