Restore the color of a button to the default theme color
What MCU/Processor/Board and compiler are you using?
ARM STM32F7
What LVGL version are you using?
7.7
What do you want to achieve?
I want to change the color of a button, and later restore the original color assigned in the theme
What have you tried so far?
I have changed the color succesfuly, but then I don’t know how to restore the original color. I haver reset the style, and then the button is not visible
I didn’t know I had to change the OR and the shift, and which properties. Now I know that the style is the same I changed originaly LV_STYLE_### and then I have to add the OR and the state shifted LV_STYLE_STATE_POS.