mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Refactor half_button to use with_state
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
half:
|
||||
template: with_state
|
||||
size: 30px
|
||||
show_icon: false
|
||||
hold_action:
|
||||
@@ -7,18 +8,3 @@ half:
|
||||
card:
|
||||
- height: 45px
|
||||
- font-size: 14px
|
||||
state:
|
||||
- value: 'on'
|
||||
styles:
|
||||
card:
|
||||
- background-color: var(--primary-color)
|
||||
- color: black
|
||||
icon:
|
||||
- color: black
|
||||
- value: 'home'
|
||||
styles:
|
||||
card:
|
||||
- background-color: var(--primary-color)
|
||||
- color: black
|
||||
icon:
|
||||
- color: black
|
||||
|
||||
Reference in New Issue
Block a user