From acf853f7132c36fa7bbf3d6000e1bf725efd397e Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 27 Sep 2017 08:48:12 +0300 Subject: [PATCH] Change color of state-badge icon according to rgb or brightness (#436) * Change color of state-badge icon according to rgb or brightness * Remove unneeded edit * Set minimum brightness at 15%. Clear previous timeout --- src/components/entity/state-badge.html | 106 ++++++++++++++++++------- 1 file changed, 78 insertions(+), 28 deletions(-) diff --git a/src/components/entity/state-badge.html b/src/components/entity/state-badge.html index a2327a459d..4cdd256249 100644 --- a/src/components/entity/state-badge.html +++ b/src/components/entity/state-badge.html @@ -1,4 +1,4 @@ - + @@ -45,45 +45,95 @@