From e39d9cdcf986fb6528a247a0e124b7f970e915a5 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Sat, 17 Oct 2026 14:29:01 +0200 Subject: [PATCH] Replace the muted gold accent with MG red ev_accent is now #E0424C, the red of the launcher icon (about 4.6:1 on the black background, enough for accent-coloured text; the darker MG brand red is about 3:1). ev_on_accent and ev_gold_surface follow with a dark red tint; the gold hardcoded in two drawables and the consumption period buttons is replaced too. AGENTS.md's visual direction updated. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki --- AGENTS.md | 2 +- app/src/main/java/com/evsuite/abrp/MainActivity.java | 4 ++-- app/src/main/res/drawable/ic_info.xml | 2 +- app/src/main/res/drawable/ic_vehicle_outline.xml | 2 +- app/src/main/res/values/colors.xml | 10 ++++++---- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index fe6a381..1f9ce97 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,7 +8,7 @@ workspace `DESIGN.md` apply; this file contains only telemetry-specific addition ## App-specific visual direction (2.2.6) The user explicitly requested a permanent OLED-black theme, charcoal glass-like cards, -muted gold and cyan accents. These app resources intentionally override the shared +MG red (#E0424C, replacing the earlier muted gold) and cyan accents. These app resources intentionally override the shared DESIGN.md palette, DayNight preference and flat-surface rules. Do not overwrite them with the shared token generator. Use static gradients rather than continuous effects; keep large touch targets, readable text and null telemetry shown as a dash. diff --git a/app/src/main/java/com/evsuite/abrp/MainActivity.java b/app/src/main/java/com/evsuite/abrp/MainActivity.java index 75608b6..76c4e64 100644 --- a/app/src/main/java/com/evsuite/abrp/MainActivity.java +++ b/app/src/main/java/com/evsuite/abrp/MainActivity.java @@ -852,9 +852,9 @@ public class MainActivity extends AppCompatActivity { MaterialButton button = consumptionPane.findViewById(id); boolean selected = id == selectedId; button.setSelected(selected); - button.setTextColor(selected ? 0xFFD8C39A : COLOR_PENDING); + button.setTextColor(selected ? 0xFFE0424C : COLOR_PENDING); button.setStrokeColor(android.content.res.ColorStateList.valueOf( - selected ? 0xFFD8C39A : 0xFF3A4143)); + selected ? 0xFFE0424C : 0xFF3A4143)); } } diff --git a/app/src/main/res/drawable/ic_info.xml b/app/src/main/res/drawable/ic_info.xml index 91a111e..78f93a3 100644 --- a/app/src/main/res/drawable/ic_info.xml +++ b/app/src/main/res/drawable/ic_info.xml @@ -1 +1 @@ - + diff --git a/app/src/main/res/drawable/ic_vehicle_outline.xml b/app/src/main/res/drawable/ic_vehicle_outline.xml index f1e7624..e6178ec 100644 --- a/app/src/main/res/drawable/ic_vehicle_outline.xml +++ b/app/src/main/res/drawable/ic_vehicle_outline.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 35475b4..db6aef8 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,5 +1,7 @@ - + #000000 #121212 @@ -7,11 +9,11 @@ #363B3D #F4F3EF #BDC4C6 - #D8C39A - #17140E + #E0424C + #1A0B0C #A0E2E0 #103436 - #28241B + #2A1416 #A4DCC1 #E9CA96 #FFB4AB