feat(uiux): add Credence design tokens via CSS variables#315
Merged
Conversation
Establishes src/index.css as the single source of truth for all UI primitives. Defines 80+ CSS custom properties under the --credence-* namespace covering: - Colors: 10-step primary (blue) + 10-step neutral (slate) palettes, semantic success/error/warning/info groups (light/base/dark variants), and high-level semantic aliases (bg, text, border, accent) that reference primitives via var() — no one-off hex usage in aliases. - Spacing: 17-step 4px-base grid (rem values, px hairline). - Border radius: 9 steps from none to full (9999px). - Typography: font families (Inter + JetBrains Mono), 9-step size scale, 4 weight steps, 6 line-height steps, 6 letter-spacing steps. Adds docs/design-system.md as the human-readable reference with token tables, contrast ratios, design principles, and usage examples.
|
@zhero-o Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Establishes src/index.css as the single source of truth for all UI primitives. Defines 80+ CSS custom properties under the --credence-* namespace covering:
Adds docs/design-system.md as the human-readable reference with token tables, contrast ratios, design principles, and usage examples.
Closes #222