v0.21.0: sweep App.css + index.css to design tokens (#31)
Replace hardcoded colors, font-sizes, and radii in App.css/index.css with the tokens.css design-token system. Consolidate ~80 distinct hex values onto the neutral ramp + semantic/status families, map font-size literals to the --text-* scale and border-radius literals to the --radius-* scale, route the on-dark translucent-white pattern and header band through their semantic tokens, and point the base rules at --color-bg/--color-text/--font-sans. Add an appended interaction-polish layer: a coherent transition vocabulary (var(--motion-base) var(--ease-out)) on surfaces that already react to hover, plus one consistent :focus-visible ring using var(--color-focus-ring). No existing selector renamed or removed; only property values changed and additive rules appended. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+793
-738
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,7 @@
|
||||
:root {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
||||
Arial, sans-serif;
|
||||
color: #1a1a1a;
|
||||
background: #fafaf8;
|
||||
font-family: var(--font-sans);
|
||||
color: var(--color-text);
|
||||
background: var(--color-bg);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user