mirror of
https://github.com/Anashost/HA-Animated-cards.git
synced 2026-01-11 16:20:05 +00:00
Fix text color condition for battery level check
This commit is contained in:
@@ -82,7 +82,7 @@ card_mod:
|
||||
--custom-icon-shadow: {{ '0 0 15px rgba(' ~ color ~ ', 0.6)' if is_charging else 'none' }};
|
||||
|
||||
/* Text Color */
|
||||
--text-color: {{ 'rgba(' ~ color ~ ', 1)' if level < 100 else 'rgba(255,255,255,0.7)' }};
|
||||
--text-color: {{ 'rgba(' ~ color ~ ', 1)' if level < 101 else 'rgba(255,255,255,0.7)' }};
|
||||
|
||||
/* --- CARD STYLING --- */
|
||||
background: #1c1c1c !important;
|
||||
|
||||
Reference in New Issue
Block a user