Skip to content

PR-SETTINGS-SWITCH-SCALE-0: bigger switches inside settings rows (round 3/15) - #145

Merged
jackwener merged 1 commit into
mainfrom
pr/settings-switch-bigger-2
Jun 23, 2026
Merged

PR-SETTINGS-SWITCH-SCALE-0: bigger switches inside settings rows (round 3/15)#145
jackwener merged 1 commit into
mainfrom
pr/settings-switch-bigger-2

Conversation

@jackwener

Copy link
Copy Markdown
Member

Round 3/15. Switch primitive at 20×36 was too small inside the now-roomy settings rows. Scoped the bump to settings only — 26×46 track, 22×22 thumb, checked-state translate updated to 22px so the thumb reaches the edge. Chat / sidebar switches unaffected.

…nd 3/15)

Shared Switch primitive renders at h-5 w-9 (20×36) — fine for chat /
sidebar toggles but cramped inside the now-roomy settings rows.
Reference's settings toggles are noticeably larger. Scoped the bump
to settings rows only so the Switch primitive stays compact elsewhere:

- track 20×36 → 26×46, radius 999
- thumb 16 → 22
- checked-state translate updated from `1.125rem` to `22px` so the
  thumb actually reaches the right edge at the new track width
- scoped via `.settingsFormRow [role="switch"]` /
  `.settingsField [role="switch"]`

1466 / 1466 tests pass.
@jackwener
jackwener merged commit 8807793 into main Jun 23, 2026
@Astro-Han
Astro-Han deleted the pr/settings-switch-bigger-2 branch July 14, 2026 05:05
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