mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix button card color when off (#19685)
This commit is contained in:
parent
65a8518d99
commit
aed0a35c9c
@ -302,6 +302,8 @@ export class HuiButtonCard extends LitElement implements LovelaceCard {
|
||||
iconColorCSS,
|
||||
css`
|
||||
ha-card {
|
||||
--state-inactive-color: var(--paper-item-icon-color, #44739e);
|
||||
--state-color: var(--paper-item-icon-color, #44739e);
|
||||
--mdc-ripple-color: var(--state-color);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
@ -325,9 +327,8 @@ export class HuiButtonCard extends LitElement implements LovelaceCard {
|
||||
width: 40%;
|
||||
height: auto;
|
||||
max-height: 80%;
|
||||
color: var(--state-color, var(--paper-item-icon-color, #44739e));
|
||||
color: var(--state-color);
|
||||
--mdc-icon-size: 100%;
|
||||
--state-inactive-color: var(--paper-item-icon-color, #44739e);
|
||||
transition: transform 180ms ease-in-out;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user