From 1f6e32fae73463ed5ec110a304998d90f6dc3ac4 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sun, 22 Jan 2023 17:48:03 +0100 Subject: Change: colors & menu items --- src/displayapp/InfiniTimeTheme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/displayapp/InfiniTimeTheme.cpp') diff --git a/src/displayapp/InfiniTimeTheme.cpp b/src/displayapp/InfiniTimeTheme.cpp index 4290d87f..a6fda964 100644 --- a/src/displayapp/InfiniTimeTheme.cpp +++ b/src/displayapp/InfiniTimeTheme.cpp @@ -58,7 +58,7 @@ static void basic_init() { lv_style_set_radius(&style_btn, LV_STATE_DEFAULT, 10); lv_style_set_bg_opa(&style_btn, LV_STATE_DEFAULT, LV_OPA_COVER); lv_style_set_bg_color(&style_btn, LV_STATE_DEFAULT, Colors::bg); - lv_style_set_bg_color(&style_btn, LV_STATE_CHECKED, Colors::highlight); + lv_style_set_bg_color(&style_btn, LV_STATE_CHECKED, Colors::primary); lv_style_set_bg_color(&style_btn, LV_STATE_DISABLED, Colors::bgDark); lv_style_set_border_color(&style_btn, LV_STATE_DEFAULT, LV_COLOR_WHITE); lv_style_set_border_width(&style_btn, LV_STATE_DEFAULT, 0); @@ -125,7 +125,7 @@ static void basic_init() { style_init_reset(&style_sw_indic); lv_style_set_bg_opa(&style_sw_indic, LV_STATE_DEFAULT, LV_OPA_COVER); - lv_style_set_bg_color(&style_sw_indic, LV_STATE_DEFAULT, Colors::highlight); + lv_style_set_bg_color(&style_sw_indic, LV_STATE_DEFAULT, Colors::primary); style_init_reset(&style_sw_knob); lv_style_set_bg_opa(&style_sw_knob, LV_STATE_DEFAULT, LV_OPA_COVER); -- cgit v1.2.3