Repository navigation
Segmented: the selected segment shows in dark mode - #9
Conversation
Its thumb was the card color (#1C1C1E) on a translucent gray track over black — nearly invisible, so a switch looked like nothing happened. A --segment token (card in light, #636366 in dark, as Apple's controls) now fills the thumb of Segmented, Tabs and ToggleGroup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
The Notes list/tree switch (and every Segmented, Tabs and ToggleGroup in dark mode) drew its selected thumb in the card color, #1C1C1E, on a translucent gray track over black. It was nearly invisible, so switching views looked like the click hadn't worked.
A new
--segmenttoken fills the thumb: the card color in light (unchanged), and #636366 in the dark themes (default, workbench, sheet), as Apple's own segmented controls do.Checked: typecheck, lint, unit tests, tokens and registry checks, and the a11y audit for segmented, tabs and toggle-group (no new violations).
🤖 Generated with Claude Code
Summary by CodeRabbit