Skip to content

Commit

Permalink
Use --error-color instead of a fixed color (home-assistant#6961)
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Barett <zackbarett@hey.com>
  • Loading branch information
KTibow and zsarnett committed Sep 14, 2020
1 parent 426f939 commit f6eb31b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panels/lovelace/cards/hui-error-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export class HuiErrorCard extends LitElement implements LovelaceCard {
return css`
:host {
display: block;
background-color: #ef5350;
color: white;
background-color: var(--error-color);
color: var(--color-on-error, white);
padding: 8px;
font-weight: 500;
user-select: text;
Expand Down

0 comments on commit f6eb31b

Please sign in to comment.