App 2.27.1: accent colour only for styles drawn in it
Settings → Display now has the Overview style first with the accent colour beside it; for styles with their own palette the accent field is greyed out with a note. Styles are an enum, OverviewStyle, with usesAccent (unit-tested). Emulator only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
This commit is contained in:
@@ -131,6 +131,18 @@ tyre pressures, GPS (lat, lon, elevation, heading) and the is_* flags. It does *
|
||||
confirmed car facts, app structure, UI conventions, build/test/ship, documents. It replaces
|
||||
upstream's EVABRPUploader text. The test emulator is now in the flake: `nix run .#car-emulator`
|
||||
(Android 9 AOSP at 1920×720, 160 dpi; the car build installs as the system user — checked).
|
||||
- 2026-10-24 — App 2.27.1 (branch `styles-retro-future`): Settings → Display rearranged:
|
||||
Overview style first, the accent colour beside it, tyre pressure on its own row below. The
|
||||
accent colour is only offered for styles drawn in it (Tiles, Gauges, Cockpit, Retro (accent
|
||||
colour), Futuristic, MG, Minimal, Chronograph); for the styles with their own palette (Retro,
|
||||
Sci-fi, Cartoon, Blueprint, Terminal, Aviation, Nixie tubes) the field is greyed out and
|
||||
ignores taps, keeping the colour chosen before, and a line says "… has its own colours. To
|
||||
change the accent colour, pick a style that uses it." The styles are now an enum,
|
||||
`OverviewStyle` (stored names, `usesAccent`, the old `DASHBOARD` value; unit-tested), in place
|
||||
of the string array. The style list is wider than its field so "Retro (accent colour)" fits.
|
||||
Checked on the emulator: Tiles (accent open), Cartoon (greyed, tap ignored, note), back to
|
||||
Tiles; the page fits without scrolling
|
||||
(`screenshots/nilsmg4-2.27.1-settings-own-colours.png`). Not tried on the car.
|
||||
- 2026-10-24 — App 2.27.0 (branch `styles-retro-future`): the Overview can go full width. A
|
||||
small round button in its top-right corner (40 dp disc in a 72 dp touch area, over the pages)
|
||||
hides the app's navigation (sidebar, or the bottom bar on narrow screens); its icon turns to
|
||||
|
||||
Reference in New Issue
Block a user