fix: Use HA style and coloring for all icons (#1790)

This commit is contained in:
Dermot Duffy
2024-12-23 15:22:27 -08:00
committed by GitHub
parent a9e5889ca7
commit 9d812af9f4
68 changed files with 557 additions and 1366 deletions
+7 -5
View File
@@ -1,8 +1,7 @@
@use './button.scss';
:host {
--mdc-icon-button-size: calc(var(--frigate-card-status-bar-height) - 6px);
--mdc-icon-size: calc(var(--mdc-icon-button-size) / 2);
--mdc-icon-size: calc(var(--frigate-card-status-bar-height) - 6px);
display: block;
width: 100%;
@@ -61,8 +60,7 @@
.item {
display: inline-block;
margin: 3px;
padding: 3px;
margin: 3px 5px;
align-content: center;
@@ -84,6 +82,10 @@
}
img.item {
width: var(--mdc-icon-size, 24px);
display: block;
// To ensure images render somewhat reasonably looking their height is kept to
// the same height as icons.
height: var(--mdc-icon-size, 24px);
width: auto;
}