mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-23 09:16:32 +00:00
Add blog post for entity state color changes (#1578)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
04c7c7168f
commit
c17069a443
15
blog/2022-12-07-entity-color-changes.md
Normal file
15
blog/2022-12-07-entity-color-changes.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
author: Paul Bottein
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
:::caution
|
||||
As we only officially support the `primary-color` and `accent-color` properties for themes, some colors can be added or removed between releases.
|
||||
:::
|
||||
|
||||
More details about theme configuration can be found in the [Home Assistant documentation](https://www.home-assistant.io/integrations/frontend/#defining-themes).
|
Loading…
x
Reference in New Issue
Block a user