mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Add color_filter_opa
style property (#7276)
This commit is contained in:
parent
a0eff08f39
commit
bec2d42c79
2 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,7 @@ STYLE_PROPS = {
|
||||||
).several_of,
|
).several_of,
|
||||||
"border_width": cv.positive_int,
|
"border_width": cv.positive_int,
|
||||||
"clip_corner": lvalid.lv_bool,
|
"clip_corner": lvalid.lv_bool,
|
||||||
|
"color_filter_opa": lvalid.opacity,
|
||||||
"height": lvalid.size,
|
"height": lvalid.size,
|
||||||
"image_recolor": lvalid.lv_color,
|
"image_recolor": lvalid.lv_color,
|
||||||
"image_recolor_opa": lvalid.opacity,
|
"image_recolor_opa": lvalid.opacity,
|
||||||
|
|
|
@ -101,6 +101,7 @@ lvgl:
|
||||||
border_side: [bottom, left]
|
border_side: [bottom, left]
|
||||||
border_width: 4
|
border_width: 4
|
||||||
clip_corner: false
|
clip_corner: false
|
||||||
|
color_filter_opa: transp
|
||||||
height: 50%
|
height: 50%
|
||||||
image_recolor: light_blue
|
image_recolor: light_blue
|
||||||
image_recolor_opa: cover
|
image_recolor_opa: cover
|
||||||
|
|
Loading…
Reference in a new issue