mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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`
|
return css`
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
background-color: #ef5350;
|
background-color: var(--error-color);
|
||||||
color: white;
|
color: var(--color-on-error, white);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user