From b9f0deffe13c2be9df73d532df2406d23bbc26d8 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 17 Dec 2023 09:33:30 +0100 Subject: [PATCH] Client - display workout map with dark mode colors when enabled --- .../Workout/WorkoutDetail/WorkoutData.vue | 3 +++ .../WorkoutDetail/WorkoutMap/index.vue | 22 ++++++++++++++----- fittrackee_client/src/scss/base.scss | 8 +++---- fittrackee_client/src/scss/colors-dark.scss | 6 +++++ fittrackee_client/src/scss/colors.scss | 6 +++++ 5 files changed, 35 insertions(+), 10 deletions(-) diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue index c734e222..51de8c59 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue @@ -143,6 +143,9 @@ .mountains { padding-right: $default-padding * 0.5; } + .mountains { + filter: var(--mountains-filter); + } .workout-data { padding: $default-padding * 0.5 0; diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutMap/index.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutMap/index.vue index 27d54c9b..60357ad4 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutMap/index.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutMap/index.vue @@ -17,6 +17,7 @@ ref="workoutMap" @ready="fitBounds(bounds)" :use-global-leaflet="false" + class="map" >