Skip to content

Commit

Permalink
Enable background transparency & effects on badges (#21667)
Browse files Browse the repository at this point in the history
Enable background effects on badges
  • Loading branch information
Nezz authored Aug 13, 2024
1 parent 2040839 commit 6ec4323
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/panels/lovelace/badges/hui-entity-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ export class HuiEntityBadge extends LitElement implements LovelaceBadge {
box-sizing: border-box;
width: auto;
border-radius: 18px;
background-color: var(--card-background-color, white);
background: var(
--ha-card-background,
var(--card-background-color, white)
);
-webkit-backdrop-filter: var(--ha-card-backdrop-filter, none);
backdrop-filter: var(--ha-card-backdrop-filter, none);
border-width: var(--ha-card-border-width, 1px);
border-style: solid;
border-color: var(
Expand Down

0 comments on commit 6ec4323

Please sign in to comment.