Fix checkbox shape — square box via a new radius_xs token#3
Merged
Conversation
checkbox painted its 18px box with radius_sm (7px), which reads as a circle rather than a checkbox. Add a radius_xs token (4px) + rounding_xs() helper and use it for the checkbox box, so it renders as a proper square. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
checkbox painted its 18px box with radius_sm (7px), which reads as a circle rather than a checkbox. Add a radius_xs token (4px) + rounding_xs() helper and use it for the checkbox box, so it renders as a proper square.
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
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.
What
checkboxpainted its 18px box withradius_sm(7px), which reads as a circle, not a checkbox. Adds aradius_xstoken (4px) +rounding_xs()helper; the checkbox box now uses it and renders as a proper square.Why
Caught visually while building the Tokito Settings dialog (VtronTokito/tokito#26) — see the General-section screenshot.
radius_xsis a reusable token for any tight control whereradius_smover-rounds.Tokensis#[non_exhaustive], so the new field is non-breaking.Verified
cargo clippy --lib --all-features— clean🤖 Generated with Claude Code