Skip to main content

Module theme

Module theme 

Source
Expand description

Xila’s integration of the shared lvgl_theme_shadcn theme.

The C theme owns shared styles and follows the display’s lifetime. Call theme helpers while holding the graphics manager’s LVGL lock.

Enums§

PaletteColor
A palette role, for drawings that LVGL styles cannot color through the theme.
RenderingMode
How much the theme may spend on rendering.
Surface
A semantic container surface that follows palette changes.

Functions§

get_palette_color⚠
Current palette color of the display showing object, or None when the theme is not active there.
get_rendering_mode
The rendering mode that set_display_rendering_mode last selected.
set_display_rendering_mode⚠
Select the rendering mode of the theme on display.
set_surface⚠
Apply a shared container surface instead of a local background color.