App 2.27.2: Terminal in the accent colour; Original as a colour choice

Retro and Terminal are one entry each; the accent colour drop-down
offers "Original" first for them, remembered per style. The old
"Retro (accent colour)" entry is folded in and its stored value
migrated. 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:
2026-10-24 21:38:01 +02:00
co-authored by Claude Opus 5.5
parent ef2ba89fba
commit 1c85fd2d9f
10 changed files with 137 additions and 51 deletions
+11
View File
@@ -131,6 +131,17 @@ 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.2 (branch `styles-retro-future`): Terminal can be drawn in the accent
colour too (text in its light shade, the command line in the accent, plain black; the low
battery stays amber). Instead of separate "(accent colour)" entries, Retro and Terminal are one
entry each and the accent colour drop-down beside the style offers "Original" first (their own
palette, the default) and then the accent colours; the choice is kept per style
(`original_colours_<STYLE>`). Picking "Original" leaves the app's accent as it is. The
"Retro (accent colour)" entry is gone: a stored `RETRO_ACCENT` becomes Retro in the accent
colour (`OverviewStyle.hasOriginal`, `wasAccentEntry`; unit-tested). Fourteen entries in the
style list. Checked on the emulator: Terminal original → Dynamic Red, Retro still original,
and a stored `RETRO_ACCENT` migrated to Retro in Dynamic Red
(`screenshots/nilsmg4-2.27.2-terminal-accent.png`); no crash. Not tried on the car.
- 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