Skip to content

[STUDIO-4142] Change the visual appearance of toggle groups - #1082

Open
tristen wants to merge 2 commits into
sand/unofrom
STUDIO-4142
Open

tristen wants to merge 2 commits into
sand/unofrom
STUDIO-4142

Conversation

@tristen

@tristen tristen commented Oct 15, 2026

Copy link
Copy Markdown
Member
Before After
Screenshot 2026-10-15 at 3 30 19 PM Screenshot 2026-10-15 at 3 29 46 PM

Summary of changes

  • Sizes now match inputs:
    • toggle--s is 18px tall
    • toggle is 24px, matching input--s (down from 30px)
    • toggle--l is new and 36px tall, matching input
  • Content is centered, so icon labels line up without extra classes.
  • Light variants work on dark backgrounds: toggle--lighten* and toggle--white get a translucent track,
    dark text on the checked segment, and lighten25 disabled text. toggle--darken* gets a darken5 track.
  • toggle--active-{color}`` selectors now include .toggle`, so they still override the light-variant text
    color. This only affects markup that uses the class without .toggle.

@tristen
tristen requested a review from a team as a code owner October 15, 2026 19:36

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant