mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +00:00
Use --error-color instead of a fixed color (#6961)
Co-authored-by: Zack Barett <zackbarett@hey.com>
This commit is contained in:
parent
426f939982
commit
f6eb31bf9d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user