Searched refs:MODE_DARK (Results 1 – 1 of 1) sorted by relevance
19 #define MODE_DARK 1 macro199 …if(theme.flags & MODE_DARK) return lv_color_mix(lv_palette_darken(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb()214 color_scr = theme.flags & MODE_DARK ? DARK_COLOR_SCR : LIGHT_COLOR_SCR; in style_init()215 color_text = theme.flags & MODE_DARK ? DARK_COLOR_TEXT : LIGHT_COLOR_TEXT; in style_init()216 color_card = theme.flags & MODE_DARK ? DARK_COLOR_CARD : LIGHT_COLOR_CARD; in style_init()217 color_grey = theme.flags & MODE_DARK ? DARK_COLOR_GREY : LIGHT_COLOR_GREY; in style_init()234 lv_color_t sb_color = (theme.flags & MODE_DARK) ? lv_palette_darken(LV_PALETTE_GREY, in style_init()286 if(!(theme.flags & MODE_DARK)) { in style_init()556 …lv_style_set_text_color(&styles->ta_placeholder, (theme.flags & MODE_DARK) ? lv_palette_darken(LV_… in style_init()669 theme.flags = dark ? MODE_DARK : 0; in lv_theme_default_init()