From 5de6fbf8475ed72a551413943c59fa4cc67ac2d3 Mon Sep 17 00:00:00 2001 From: Miguel Magno <56565368+Miguel0101@users.noreply.github.com> Date: Sun, 12 Sep 2021 09:09:50 -0300 Subject: [PATCH] docs(style) use correct API name for local styles (#2550) --- docs/overview/style.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/overview/style.md b/docs/overview/style.md index bca399cf9..4086598cf 100644 --- a/docs/overview/style.md +++ b/docs/overview/style.md @@ -207,10 +207,10 @@ They are useful to add local customization to an object. Unlike in CSS, LVGL local styles can be assigned to states (*pseudo-classes*) and parts (*pseudo-elements*). -To set a local property use functions like `lv_obj_set_style_local_(obj, , );`   +To set a local property use functions like `lv_obj_set_style_(obj, , );`   For example: ```c -lv_obj_set_style_local_bg_color(slider, lv_color_red(), LV_PART_INDICATOR | LV_STATE_FOCUSED); +lv_obj_set_style_bg_color(slider, lv_color_red(), LV_PART_INDICATOR | LV_STATE_FOCUSED); ``` ## Properties For the full list of style properties click [here](/overview/style-props).