Fix onboarding dark mode (#6910)

Fixes #6882
This commit is contained in:
Bram Kragten 2020-09-10 13:11:27 +02:00 committed by GitHub
parent af74f21af9
commit 810d2a1ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -279,6 +279,7 @@ class LocationEditor extends LitElement {
}
#map {
height: 100%;
background: inherit;
}
.leaflet-edit-move {
border-radius: 50%;

View File

@ -11,7 +11,12 @@
@media (prefers-color-scheme: dark) {
html {
background-color: #111111;
color: var(--primary-text-color, #e1e1e1);
color: #e1e1e1;
}
ha-onboarding {
--primary-text-color: #e1e1e1;
--secondary-text-color: #9b9b9b;
--disabled-text-color: #6f6f6f;
}
}
.content {

View File

@ -6,9 +6,9 @@ import {
CSSResult,
customElement,
html,
internalProperty,
LitElement,
property,
internalProperty,
PropertyValues,
TemplateResult,
} from "lit-element";