From 96869b8b01d33859f8070d5b3d42fb3a8e2b956d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 15 Apr 2026 22:08:57 +0300 Subject: feat: blue background during countdown, green only on goal hit Timer window now uses three distinct background states: - Idle (no fast running): mint green - Countdown (fast running, goal not reached): vivid cerulean blue with white text - Goal hit: Islamic green with white text Co-Authored-By: Claude Sonnet 4.6 --- src/c/fastforge.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/c/fastforge.c b/src/c/fastforge.c index 30e08a9..ebed4f6 100644 --- a/src/c/fastforge.c +++ b/src/c/fastforge.c @@ -244,12 +244,17 @@ static GColor theme_goal_text_color(void) { } static GColor theme_timer_background_color(bool goal_reached) { - return goal_reached ? theme_goal_background_color() - : theme_surface_background_color(); + if (goal_reached) return theme_goal_background_color(); + /* Blue background while countdown is active; mint green when idle (no fast). */ + if (fast_is_running()) return is_color_platform() ? GColorVividCerulean : GColorWhite; + return theme_surface_background_color(); } static GColor theme_timer_text_color(bool goal_reached) { - return goal_reached ? theme_goal_text_color() : GColorBlack; + if (goal_reached) return theme_goal_text_color(); + /* White text on blue countdown background for readability. */ + if (fast_is_running()) return is_color_platform() ? GColorWhite : GColorBlack; + return GColorBlack; } static GColor theme_progress_track_color(void) { -- cgit v1.2.3