mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 06:17:20 +00:00
Fix Dark Mode Map when set in Dashboard card (#13297)
This commit is contained in:
parent
9baeabed19
commit
53519ae8ab
@ -453,6 +453,7 @@ export class HaMap extends ReactiveElement {
|
||||
}
|
||||
#map.dark {
|
||||
background: #090909;
|
||||
--map-filter: invert(0.9) hue-rotate(170deg) grayscale(0.7);
|
||||
}
|
||||
.light {
|
||||
color: #000000;
|
||||
@ -464,7 +465,7 @@ export class HaMap extends ReactiveElement {
|
||||
filter: var(--map-filter);
|
||||
}
|
||||
.dark .leaflet-bar a {
|
||||
background: var(--card-background-color);
|
||||
background-color: var(--card-background-color, #1c1c1c);
|
||||
color: #ffffff;
|
||||
}
|
||||
.leaflet-marker-draggable {
|
||||
|
Loading…
x
Reference in New Issue
Block a user