fix: standardize design system tokens and typography#198
Merged
RhysSullivan merged 3 commits intomainfrom Apr 11, 2026
Merged
Conversation
- Bump dark mode --muted-foreground from 0.56 to 0.65 for readable secondary text - Bump dark mode --border from 0.235 to 0.28 for visible borders - Bump dark mode --sidebar-foreground from 0.72 to 0.78 - Replace all arbitrary font sizes with standard Tailwind scale: text-[0.625rem]→text-xs, text-[0.75rem]→text-xs, text-[0.8125rem]→text-sm, text-[0.9375rem]→text-base, text-[9-13px]→text-xs, text-[14-15px]→text-sm - Remove all opacity modifiers on text-muted-foreground (46 occurrences) — the token itself is already the correct contrast level
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | a7bf390 | Commit Preview URL Branch Preview URL |
Apr 11 2026, 08:38 PM |
Upgrade form labels, descriptions, helper text, error messages, dialog descriptions, select triggers, and loading states from text-xs (12px) to text-sm (14px). Keeps text-xs for badges, tooltips, code blocks, column headers, and secondary metadata.
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.
Summary
Fixes the systemic contrast and readability issues across the app by addressing root causes rather than per-component patches.
Design token fixes (globals.css)
--muted-foreground: 0.56 → 0.65 lightness — secondary text is now readable in dark mode--border: 0.235 → 0.28 — borders/cards are now visible in dark mode--sidebar-foreground: 0.72 → 0.78 — sidebar text is brighterBulk cleanup (32 files)
text-[0.8125rem],text-[0.75rem],text-[13px], etc. replaced with standardtext-xs,text-sm,text-basetext-muted-foreground/50,/60,/70replaced withtext-muted-foreground(the token is already the correct contrast)bg-muted-foreground/30on dot indicators intentionally preservedTest plan