mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 02:18:43 +00:00
Refactor half_button to use with_state
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
half:
|
half:
|
||||||
|
template: with_state
|
||||||
size: 30px
|
size: 30px
|
||||||
show_icon: false
|
show_icon: false
|
||||||
hold_action:
|
hold_action:
|
||||||
@@ -7,18 +8,3 @@ half:
|
|||||||
card:
|
card:
|
||||||
- height: 45px
|
- height: 45px
|
||||||
- font-size: 14px
|
- 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