Lines Matching refs:theme
518 Themes are a collection of styles. If there is an active theme LVGL
522 Every display can have a different theme. For example, you could have a
523 colorful theme on a TFT and monochrome theme on a secondary monochrome
526 To set a theme for a display, two steps are required:
528 1. Initialize a theme
529 2. Assign the initialized theme to a display.
532 example shows how to set the "default" theme:
539 … false, /* Dark theme? False = light theme. */
544 lv_display_set_theme(display, th); /* Assign theme to display */
546 The included themes are enabled in ``lv_conf.h``. If the default theme
553 Built-in themes can be extended. If a custom theme is created, a parent
554 theme can be selected. The parent theme's styles will be added before
555 the custom theme's styles. Any number of themes can be chained this way.
556 E.g. default theme -> custom theme -> dark theme.