dark mode fixes (#11595)

This commit is contained in:
Bram Kragten 2022-02-07 21:33:09 +01:00 committed by GitHub
parent e9ec2da917
commit 2d33327d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ registerStyles(
padding: 0;
}
:host([focused]:not([disabled])) {
background-color: rgba(0, 0, 0, 0.12);
background-color: rgba(var(--rgb-primary-text-color, 0, 0, 0), 0.12);
}
:host([selected]:not([disabled])) {
background-color: transparent;

View File

@ -174,6 +174,7 @@ export class HaIconPicker extends LitElement {
return css`
ha-icon,
ha-svg-icon {
color: var(--primary-text-color);
position: relative;
bottom: 2px;
}