fix: Show underlying unavailable entity colors (#1923)

- Closes #1906
This commit is contained in:
Dermot Duffy
2025-02-27 20:49:54 -08:00
committed by GitHub
parent 0432eea4b8
commit 41aa3d1f72
3 changed files with 1 additions and 14 deletions
-1
View File
@@ -22,5 +22,4 @@ svg path {
:host([allow-override-non-active-styles]) state-badge {
--state-inactive-color: inherit;
--state-unavailable-color: inherit;
}
-1
View File
@@ -4,7 +4,6 @@ ha-icon-button {
// Icons in the menu are expected to follow Advanced Camera Card theming
// unless they are active (in which case we want to take advantage of the
// whatever styling is appropriate, e.g. light icon partially lit).
--state-unavailable-color: var(--advanced-camera-card-button-color);
--state-inactive-color: var(--advanced-camera-card-button-color);
color: var(--advanced-camera-card-menu-button-inactive-color);
+1 -12
View File
@@ -1,4 +1,4 @@
@use './button.scss';
@use './menu-button.scss';
@import './z-index.scss';
:host {
@@ -6,14 +6,3 @@
--mdc-menu-z-index: #{$z-index-submenu};
}
ha-icon-button {
// The main submenu icon is expected to follow Advanced Camera Card theming unless it
// is are active (in which case we want to take advantage of the whatever
// styling is appropriate, e.g. light icon partially lit).
--state-unavailable-color: var(--advanced-camera-card-button-color);
--state-inactive-color: var(--advanced-camera-card-button-color);
color: var(--advanced-camera-card-menu-button-inactive-color);
background-color: var(--advanced-camera-card-menu-button-background);
}