Skip to content

There is no way to customize the theme through ezzStudo, and in particular lv_style_set_color_filter_dsc #850

@fermiums22

Description

@fermiums22

You can only set colors in the theme settings. But there's no way to fully customize the theme as intended in lvgl. I had to write a custom theme and remove the shadows and specifically these code snippets so the buttons would work as intended.

style_init_reset(&theme->styles.pressed);
//THE THEME WAS CREATED FOR THIS COMMENT
// lv_style_set_color_filter_dsc(&theme->styles.pressed, &theme->dark_filter);
// lv_style_set_color_filter_opa(&theme->styles.pressed, 35);

style_init_reset(&theme->styles.disabled);
// lv_style_set_color_filter_dsc(&theme->styles.disabled, &theme->grey_filter);
// lv_style_set_color_filter_opa(&theme->styles.disabled, LV_OPA_50);

Suggestion:

  • Make theme customization more comprehensive, so it can include all theme properties, eliminating the need to search for properties unavailable through EzzStudio.
  • When selecting component colors, allow only theme colors. Currently, they must be manually entered into forms and cannot be selected. Similar to the style selector for components, each color selection should allow users to simply select the desired color from the theme with the mouse, rather than having to enter it from memory.

Advantages:

  • Invaluable support from the developers of their product, and user satisfaction. This will make using EzzStudio a pleasure!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions