diff --git a/lv_conf_template.h b/lv_conf_template.h index 7c4e2ec0f..e95e815b0 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -477,6 +477,9 @@ typedef void * lv_user_data_t; # define LV_THEME_DEFAULT_TRANSITON_TIME 80 #endif /*LV_USE_THEME_DEFAULT*/ + /*An very simple them that is a good starting point for a custom theme*/ + #define LV_USE_THEME_BASIC 1 + /*----------- * Layouts *----------*/ diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index c5456fce0..6767c529d 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -1424,6 +1424,15 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/ #endif #endif /*LV_USE_THEME_DEFAULT*/ + /*An very simple them that is a good starting point for a custom theme*/ +#ifndef LV_USE_THEME_BASIC +# ifdef CONFIG_LV_USE_THEME_BASIC +# define LV_USE_THEME_BASIC CONFIG_LV_USE_THEME_BASIC +# else +# define LV_USE_THEME_BASIC 1 +# endif +#endif + /*----------- * Layouts *----------*/