From 80c1a5a0a463c68a1e3c06c76133a68d72d3dde1 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sun, 31 Jul 2022 08:19:20 +0300 Subject: Theme cleanup (#1256) Remove unnecessary comments, styles, colors, overrides. Fix arc colors --- src/displayapp/lv_pinetime_theme.h | 39 ++++---------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) (limited to 'src/displayapp/lv_pinetime_theme.h') diff --git a/src/displayapp/lv_pinetime_theme.h b/src/displayapp/lv_pinetime_theme.h index 67cee0fa..b68b7380 100644 --- a/src/displayapp/lv_pinetime_theme.h +++ b/src/displayapp/lv_pinetime_theme.h @@ -1,39 +1,14 @@ -/** - * @file lv_pinetime_theme.h - * - */ - -#ifndef LV_PINETIME_THEME_H -#define LV_PINETIME_THEME_H +#pragma once #ifdef __cplusplus extern "C" { #endif -/********************* - * INCLUDES - *********************/ #include -/********************* - * DEFINES - *********************/ -/*Colors*/ -#define LV_PINETIME_WHITE lv_color_hex(0xffffff) -#define LV_PINETIME_LIGHT lv_color_hex(0xf3f8fe) -#define LV_PINETIME_GRAY lv_color_hex(0x8a8a8a) -#define LV_PINETIME_LIGHT_GRAY lv_color_hex(0xc4c4c4) -#define LV_PINETIME_BLUE lv_color_hex(0x5d697e) -#define LV_PINETIME_GREEN lv_color_hex(0x4cb242) -#define LV_PINETIME_RED lv_color_hex(0xd51732) - -/********************** - * TYPEDEFS - **********************/ - -/********************** - * GLOBAL PROTOTYPES - **********************/ +#define IT_COLOR_BG LV_COLOR_MAKE(0x5d, 0x69, 0x7e) +#define IT_COLOR_BG_DARK LV_COLOR_MAKE(0x18, 0x18, 0x18) +#define IT_COLOR_SEL LV_COLOR_MAKE(0x0, 0xb0, 0x0) /** * Initialize the default @@ -53,12 +28,6 @@ lv_theme_t* lv_pinetime_theme_init(lv_color_t color_primary, const lv_font_t* font_normal, const lv_font_t* font_subtitle, const lv_font_t* font_title); -/********************** - * MACROS - **********************/ - -#endif - #ifdef __cplusplus } /* extern "C" */ #endif -- cgit v1.2.3-70-g09d2