Files
hassos_config/esphome/widgets/themes/habbit.yaml
2026-03-26 12:10:21 +01:00

80 lines
1.7 KiB
YAML

lvgl:
- style_definitions:
- id: button_menu
width: 60
height: 60
pad_all: 0
bg_color: 0x000000
border_color: 0x000000
align: BOTTOM_RIGHT
- id: button_more
width: 60
height: 60
pad_all: 0
bg_color: 0x000000
border_color: 0x000000
align: TOP_RIGHT
- id: button_device_1
width: 130
height: 130
pad_all: 0
translate_x: 30
bg_color: 0x000000
border_color: 0x000000
align: LEFT_MID
- id: button_device_2
width: 130
height: 130
pad_all: 0
translate_x: 160
bg_color: 0x000000
border_color: 0x000000
align: LEFT_MID
- id: button_device_3
width: 130
height: 130
pad_all: 0
translate_x: 290
bg_color: 0x000000
border_color: 0x000000
align: LEFT_MID
- id: button_device_4
width: 130
height: 130
pad_all: 0
translate_x: 420
bg_color: 0x000000
border_color: 0x000000
align: LEFT_MID
- id: slider_front_cover
width: 530
height: 160
translate_x: -25
bg_color: 0x9c9c79
radius: 10
align: CENTER
- id: slider_back_cover
width: 530
height: 160
translate_x: -25
bg_color: 0xb4b4a9
radius: 10
align: CENTER
- id: slider_label_values_cover
align: CENTER
translate_x: -10
text_font: font_slider_value
text_color: 0xffffff
- id: device_status_top
align: TOP_LEFT
pad_left: 20
text_font: font_device_status
text_color: ${text_color_secondary}
- id: device_status_bottom
align: BOTTOM_LEFT
pad_left: 20
text_font: font_device_status
text_color: 0xffffff