Skip to content

Read intent colours from theme.vars - #380

Open
zoharma wants to merge 1 commit into
mainfrom
zma/theme-vars-intent-colours
Open

zoharma wants to merge 1 commit into
mainfrom
zma/theme-vars-intent-colours

Conversation

@zoharma

@zoharma zoharma commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

While working on the design system website I noticed a discrepancy: the DS needs theme.vars for intent colours, but our docs and one component (Progress) didn't follow it.

  • Progress now reads its primary colour through theme.vars, so it follows the colour mode instead of staying at the light value
  • Docs now point to theme.vars.palette for intent colours, matching the design system guide
  • Added a regression test for Progress

- Progress: use the primary.main sx shortcut so it follows the colour mode
- Practical guidance: add the "Read intent colours from theme.vars" section
- Colour docs: show theme.vars.palette in the role tables and examples
- Changelog entries
@zoharma
zoharma requested a review from a team November 16, 2026 15:07
@zoharma zoharma added this to the 0.9.0 milestone Nov 16, 2026
@zoharma zoharma added the priority/p2-medium Planned, should do label Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/p2-medium Planned, should do

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant