Skip to content

Commit

Permalink
Fix inactive color
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jul 16, 2024
1 parent 68665cf commit d0652ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/panels/lovelace/badges/hui-entity-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class HuiEntityBadge extends LitElement implements LovelaceBadge {

static get styles(): CSSResultGroup {
return css`
:host() {
:host {
--badge-color: var(--state-inactive-color);
-webkit-tap-highlight-color: transparent;
}
Expand Down Expand Up @@ -195,6 +195,7 @@ export class HuiEntityBadge extends LitElement implements LovelaceBadge {
}
ha-state-icon {
color: var(--badge-color);
line-height: 0;
}
`;
}
Expand Down

0 comments on commit d0652ed

Please sign in to comment.