Skip to content

fix(button): the text and tonal variants read in dark - #51

Merged
thinkclay merged 1 commit into
mainfrom
fix/button-text-dark
Oct 6, 2026
Merged

thinkclay merged 1 commit into
mainfrom
fix/button-text-dark

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Grey text/tonal buttons used gray[700] and the primary text button primary[600] in both themes — 1.6:1 and 2.8:1 on the dark ground (first seen on the analytics range selector in Scaffald/SaaS#840's dark pass). They now take text[theme].primary / text[theme].emphasis. tsc, build and tests clean.

🤖 Generated with Claude Code

The grey text and tonal buttons set their label to `gray[700]` in both
themes, and the primary text button to `primary[600]` — the light steps.
On the dark ground that is 1.6:1 and 2.8:1; the analytics range selector
(7d / 30d / 90d) was the first screen to show it in the dark pass for
Scaffald/SaaS#840. The labels now take `text[theme].primary` and
`text[theme].emphasis`, which carry the dark steps the ramps already had.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant