Skip to content

fix: use label color for unchecked checkbox outline#119

Open
lfarah wants to merge 1 commit into
mainfrom
lfarah/checkbox-unchecked-outline-contrast
Open

fix: use label color for unchecked checkbox outline#119
lfarah wants to merge 1 commit into
mainfrom
lfarah/checkbox-unchecked-outline-contrast

Conversation

@lfarah
Copy link
Copy Markdown
Contributor

@lfarah lfarah commented May 5, 2026

Summary

The unchecked checkbox outline was using Tokens.Color.secondarySystemFill, which sits very close to the system background and is nearly invisible — see the Cofrinho Bitcoin "Termos de uso" checkbox for an example.

This switches the unchecked outline to Tokens.Color.label.color so the box reads as a real interactive element. Checked-state behavior is unchanged: it still uses the caller-provided shapeStyle (or label.color when none is supplied).

Affects both Checkbox and ToggleCheckboxStyle (.apoloCheckbox).

🤖 Generated with Claude Code

The unchecked outline was using secondarySystemFill, which is nearly
invisible on a system background. Switch to label.color so the outline
has the same contrast as the rest of the page text.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lfarah lfarah self-assigned this May 5, 2026
@lfarah lfarah requested a review from andreihod May 5, 2026 21:47
@lfarah lfarah marked this pull request as ready for review May 5, 2026 21:47
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.

2 participants