Client - display workout map with dark mode colors when enabled
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
@import 'vars';
|
||||
|
||||
html [data-theme='dark'] {
|
||||
color-scheme: dark;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
@ -114,7 +114,7 @@ button {
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var( --button-transparent-hover-color);
|
||||
background: var(--button-transparent-hover-color);
|
||||
color: var(--button-hover-color);
|
||||
}
|
||||
|
||||
@ -134,7 +134,7 @@ button {
|
||||
background: var(--button-cancel-bg-color);
|
||||
color: var(--button-cancel-color);
|
||||
&:hover {
|
||||
background: var( --button-transparent-hover-color);
|
||||
background: var(--button-transparent-hover-color);
|
||||
color: var(--button-hover-color);
|
||||
}
|
||||
}
|
||||
@ -143,7 +143,7 @@ button {
|
||||
background: var(--button-confirm-bg-color);
|
||||
color: var(--button-confirm-color);
|
||||
&:hover {
|
||||
background: var( --button-transparent-hover-color);
|
||||
background: var(--button-transparent-hover-color);
|
||||
color: var(--button-hover-color);
|
||||
}
|
||||
}
|
||||
|
@ -85,6 +85,12 @@
|
||||
--map-control-bg-color: #ffffff;
|
||||
--map-control-border-color: #bfc0ab;
|
||||
--map-attribution-text: rgba(255, 255, 255, 0.7);
|
||||
--map-filter: invert(1) hue-rotate(180deg) brightness(0.8) contrast(0.8);
|
||||
--map-layers-overlays: var(--app-color);
|
||||
--map-control-bar: var(--app-color);
|
||||
|
||||
--mountains-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg)
|
||||
brightness(86%) contrast(102%);
|
||||
|
||||
--cell-heading-bg-color: #eeeeee;
|
||||
--cell-heading-color: #696969;
|
||||
|
@ -82,6 +82,12 @@
|
||||
--map-control-bg-color: #ffffff;
|
||||
--map-control-border-color: #bfc0ab;
|
||||
--map-attribution-text: rgba(255, 255, 255, 0.7);
|
||||
--map-filter: initial;
|
||||
--map-layers-overlays: initial;
|
||||
--map-control-bar: #bfc0ab;
|
||||
|
||||
--mountains-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg)
|
||||
brightness(85%) contrast(80%);
|
||||
|
||||
--cell-heading-bg-color: #eeeeee;
|
||||
--cell-heading-color: #696969;
|
||||
|
Reference in New Issue
Block a user