feat: Modernize the visual card editor. (#2586)

This commit is contained in:
Dermot Duffy
2026-07-20 20:44:16 -07:00
committed by GitHub
parent e204ec183f
commit b6e1de5999
146 changed files with 8487 additions and 5992 deletions
+1 -7
View File
@@ -7,19 +7,13 @@
}
ha-icon,
state-badge,
svg {
state-badge {
display: block;
height: 100%;
width: 100%;
box-sizing: border-box;
}
svg path {
// !important is necessary to overcome the fill set on the path itself.
fill: currentColor !important;
}
:host([allow-override-non-active-styles]) state-badge {
--state-inactive-color: inherit;
}