UI foundations: PageHeader, StatTile, validated chart palette, registry primitives

- PageHeader + StatTile standardize the four header and three stat-tile
  variants found in the audit; Inicio and Salarios migrated as proof.
- chart tokens replaced with a teal-anchored categorical scale, CVD-
  ordered and validated (six checks, light + dark surfaces).
- Registry adds: empty, field, item, spinner, progress, toggle-group,
  input-group, popover, kbd (+ toggle dep).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Carlos Escalante
2026-07-04 12:23:21 -06:00
parent 10d9bd209f
commit a95486481b
17 changed files with 1328 additions and 247 deletions

View File

@@ -28,11 +28,11 @@
--border: oklch(0.92 0.004 286.32);
--input: oklch(0.92 0.004 286.32);
--ring: oklch(0.705 0.015 286.067);
--chart-1: oklch(0.55 0.16 145);
--chart-2: oklch(0.62 0.19 25);
--chart-3: oklch(0.58 0.14 250);
--chart-4: oklch(0.68 0.15 80);
--chart-5: oklch(0.52 0.13 320);
--chart-1: oklch(0.55 0.15 187);
--chart-2: oklch(0.62 0.14 78);
--chart-3: oklch(0.50 0.14 300);
--chart-4: oklch(0.56 0.18 27);
--chart-5: oklch(0.55 0.13 252);
--radius: 0.625rem;
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.141 0.005 285.823);
@@ -65,11 +65,11 @@
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.552 0.016 285.938);
--chart-1: oklch(0.60 0.16 145);
--chart-2: oklch(0.67 0.19 25);
--chart-3: oklch(0.63 0.14 250);
--chart-4: oklch(0.73 0.15 80);
--chart-5: oklch(0.57 0.13 320);
--chart-1: oklch(0.62 0.11 187);
--chart-2: oklch(0.66 0.13 78);
--chart-3: oklch(0.60 0.14 300);
--chart-4: oklch(0.64 0.16 27);
--chart-5: oklch(0.64 0.13 252);
--sidebar: oklch(0.21 0.006 285.885);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.704 0.14 182.503);