mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix tile features colors (#18788)
This commit is contained in:
parent
400b8034e1
commit
6d7b0c5626
@ -68,6 +68,7 @@ export class HuiCardFeatures extends LitElement {
|
|||||||
static get styles(): CSSResultGroup {
|
static get styles(): CSSResultGroup {
|
||||||
return css`
|
return css`
|
||||||
:host {
|
:host {
|
||||||
|
--feature-color: var(--state-icon-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@ -523,8 +523,8 @@ export class HuiTileCard extends LitElement implements LovelaceCard {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.features {
|
hui-card-features {
|
||||||
position: relative;
|
--feature-color: var(--tile-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-tile-icon[data-domain="alarm_control_panel"][data-state="pending"],
|
ha-tile-icon[data-domain="alarm_control_panel"][data-state="pending"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user