fix(settings): Flip control colours with the focused row #26
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/settings-focus-colors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was wrong
On a focused Settings row, only the text switched to dark ink. The fills and borders inside each control were fixed dark colours, so on the light focus fill:
What changed
Theme.kt: new focus-aware control colours onLiveWireTheme(controlFill,controlBorder,controlBorderStrong,controlWash,controlSelectedFill,onControlSelected,controlDisabled,controlBorderDisabled,switchOffTrack,switchOffKnob) plus the ink tints they use on the focus fill.SettingsScreen.kt: every part of the segmented choice, stepper arrows, switches and buttons now reads those colours, so a focused control mirrors its rest state.This is mockup option C from the Settings focus review, without the red hours value.
Verified
testDebugUnitTest,lintDebug,assembleDebugpass.Other screens use the same pattern in a few places (Favourites logo tile and tags). They are not changed here.
Intent: a focused Settings row should look like the mirror image of its resting row, with every part of the control readable on the light fill. Red marks only "on / chosen" (On switches, the selected format's check).
Not a goal: restyling other screens, changing focus behaviour, or making the guide window value red. Similar fixed colours in Favourites (logo tile, tags) are left for a separate change.
Intent: a focused Settings row should look like the mirror image of its resting row, with every part of the control readable on the light fill. Red marks only "on / chosen" (On switches, the selected format's check).
Not a goal: restyling other screens, changing focus behaviour, or making the guide window value red. Similar fixed colours in Favourites (logo tile, tags) are left for a separate change.