mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-21 05:51:45 +08:00
d76a346376
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
8 lines
525 B
Markdown
8 lines
525 B
Markdown
---
|
|
title: "Styles"
|
|
description: "The LVGL style system: properties, states, inheritance, and transitions."
|
|
order: 20
|
|
---
|
|
|
|
An `lv_style_t` holds a set of property values (color, padding, border, font, and so on) that you attach to a widget, a specific part of a widget, and a state such as `LV_STATE_PRESSED` or `LV_STATE_FOCUSED`. Styles cascade through the parent/child tree, and transitions let property changes animate between states. This section covers property groups, state handling, and common composition patterns.
|