Add blog post for entity state color changes (#1578)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Paul Bottein 2022-12-07 12:06:46 +01:00 committed by GitHub
parent 04c7c7168f
commit c17069a443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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).