diff options
Diffstat (limited to 'src/displayapp/lv_pinetime_theme.h')
-rw-r--r-- | src/displayapp/lv_pinetime_theme.h | 39 |
1 files changed, 4 insertions, 35 deletions
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 <lvgl/lvgl.h> -/********************* - * 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 |