Upstream/a11y toggle feat(a11y): improve checkbox/radio visibility in Bright theme#3493
Open
moodykeke wants to merge 2 commits intojmoenig:masterfrom
Open
Upstream/a11y toggle feat(a11y): improve checkbox/radio visibility in Bright theme#3493moodykeke wants to merge 2 commits intojmoenig:masterfrom
moodykeke wants to merge 2 commits intojmoenig:masterfrom
Conversation
Contributor
moodykeke
commented
Nov 6, 2025
- 变更动机
- 明亮外观下复选框/单选框在白底上对比度不足,非悬停状态难以辨认。提升视觉可访问性以满足常见对比度建议。
- 变更内容
- src/widgets.js (仅此文件)
- 在 Bright 主题中为 ToggleMorph 使用更深的边框色,关闭边框渐变。
- 填充色略深于面板背景以形成更清晰的盒子轮廓。
- 勾选符号和单选圆点采用按钮文字色(深灰),在 Bright 模式将字号加大 2pt。
- Dark 主题不受影响;未更改交互或逻辑。
- 范围控制
- 不包含任何新脚本或工具、文档或生成产物。
-
- 测试说明
- 切换到 Bright 主题,检查设置菜单、画板与变量面板中的复选框/单选框的可见性。
- 切回 Dark 主题,确认视觉保持原样(无回归)。
- 影响文件
- M src/widgets.js
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.