mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-19 10:57:14 +00:00
Add missing CSS variable for state color changes (#1579)
This commit is contained in:
parent
c17069a443
commit
c49b543dc5
@ -4,9 +4,12 @@ authorURL: https://github.com/piitaya
|
||||
title: "Entity state color changes"
|
||||
---
|
||||
|
||||
From the Home Assistant Core 2022.12 release, we are using different colors per domain when an entity is active. The `--paper-item-icon-active-color` CSS variable is no longer used.
|
||||
From the Home Assistant Core 2022.12 release, we are using different colors per domain when an entity is active. These CSS variables are no longer used:
|
||||
|
||||
This means that any theme that has previously overridden this CSS variable will use the built-in colors for active states. All theses new colors are available as CSS variables too.
|
||||
- `--paper-item-icon-active-color`
|
||||
- `--state-icon-active-color`
|
||||
|
||||
This means that any theme that has previously overridden these CSS variables will use the built-in colors for active states. All theses new colors are available as CSS variables too.
|
||||
|
||||
:::caution
|
||||
As we only officially support the `primary-color` and `accent-color` properties for themes, some colors can be added or removed between releases.
|
||||
|
Loading…
x
Reference in New Issue
Block a user