fix(settings): Flip control colours with the focused row #26

Merged
namillis merged 1 commit from fix/settings-focus-colors into main 2026-11-03 04:51:04 +00:00
Owner

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:

  • the On switch turned into one dark blob (its track switched colour, its knob was already dark)
  • the Guide window arrow boxes stayed dark blue
  • the Manage and Check now buttons stayed dark blue with dark text inside

What changed

  • Theme.kt: new focus-aware control colours on LiveWireTheme (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.
  • On switches are brand red with a white knob, and the selected stream format's check is red. Both look the same at rest and on focus. The guide window value stays white/ink.

This is mockup option C from the Settings focus review, without the red hours value.

Verified

  • testDebugUnitTest, lintDebug, assembleDebug pass.
  • On the LiveWireTV_API34 emulator: each row focused in turn (stream format, guide window, channel preview On, now-playing Off, Manage favourites, Check for updates).

Other screens use the same pattern in a few places (Favourites logo tile and tags). They are not changed here.

## 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: - the On switch turned into one dark blob (its track switched colour, its knob was already dark) - the Guide window arrow boxes stayed dark blue - the Manage and Check now buttons stayed dark blue with dark text inside ## What changed - `Theme.kt`: new focus-aware control colours on `LiveWireTheme` (`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. - On switches are brand red with a white knob, and the selected stream format's check is red. Both look the same at rest and on focus. The guide window value stays white/ink. This is mockup option C from the Settings focus review, without the red hours value. ## Verified - `testDebugUnitTest`, `lintDebug`, `assembleDebug` pass. - On the LiveWireTV_API34 emulator: each row focused in turn (stream format, guide window, channel preview On, now-playing Off, Manage favourites, Check for updates). Other screens use the same pattern in a few places (Favourites logo tile and tags). They are not changed here.
fix(settings): Flip control colours with the focused row
All checks were successful
CI / test (pull_request) Successful in 6m0s
5c457bab77
On a focused Settings row only the text switched to dark ink; the control
fills and borders were fixed dark tokens, so the On switch became one dark
blob and the stepper boxes and Manage/Check now buttons stayed dark blue on
the light focus fill.

Add focus-aware control colours to LiveWireTheme (fill, border, wash,
selected fill, disabled, switch-off track/knob) and use them for every part
of the Settings controls. On switches are now brand red with a white knob and
the selected stream format's check is red, the same at rest and on focus.
Author
Owner

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.
Author
Owner

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.
namillis deleted branch fix/settings-focus-colors 2026-11-03 04:51:04 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/LiveWireTV!26
No description provided.