Repository navigation
fix(theme): [ENG-48341] add gray.275/gray.650 and re-step the light canvas, border and muted text - #1051
Merged
Conversation
…anvas, border and muted text - New global steps: gray.275 (#D1D1D1) and gray.650 (#535353), surfaced as surface-275 and surface-650 (with their bg/text/border utilities). - Light --bg-canvas moves from surface-50 (#FAFAFA) to surface-100 (#F5F5F5). - Light --text-muted moves from gray.500 (#808080, 3.95:1 on surface, under AA) to gray.650: 7.06:1 on canvas, 7.69:1 on surface. - Light --border-default moves to gray.275 so the rule still clears the darker canvas. Dark mode is unchanged.
lucas-langeloh-azion
approved these changes
Oct 2, 2026
lucas-langeloh-azion
approved these changes
Oct 2, 2026
isaque-bock-azion
approved these changes
Oct 2, 2026
Merged
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
--text-mutedwas#808080, 3.95:1 on--bg-surface— under the AA 4.5:1 floor, so every axe run over muted copy flagged it. It moves to a new global step,gray.650(#535353): 7.06:1 on the canvas, 7.69:1 on surface.surface-50→surface-100,#F5F5F5), and--border-defaultmoves to a newgray.275(#D1D1D1) so rules still clear it. Both new steps ship as--color-gray-*and--surface-275/--surface-650with their utilities.How to test
pnpm --filter @aziontech/theme build:tokens→dist/v4/globals.csschanges only the three light values above plus the newgray-275/gray-650/surface-275/surface-650declarations and utilities.pnpm --filter @aziontech/theme test→ 17 pass.pnpm storybook:devin light mode → muted copy (helper text, table secondary columns, descriptions) reads darker; the page background is one step darker and borders still show against it.Notes