From 61e045b8886e6c3231e6024b57f3a5837b3fdfda Mon Sep 17 00:00:00 2001 From: Valtteri Harmainen Date: Sun, 20 Oct 2024 20:50:23 +0300 Subject: [PATCH] Make "planned" and "planning" styles look less aggressive --- webapp/src/cljs/lipas/ui/map/styles.cljs | 32 +++++++++++++----------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/webapp/src/cljs/lipas/ui/map/styles.cljs b/webapp/src/cljs/lipas/ui/map/styles.cljs index 4ea36e306..b5495044f 100644 --- a/webapp/src/cljs/lipas/ui/map/styles.cljs +++ b/webapp/src/cljs/lipas/ui/map/styles.cljs @@ -107,21 +107,23 @@ stroke-black (Stroke. #js {:color "#00000" :width 1}) - stroke-planned (Stroke. #js {:color "#3b3b3b" - :lineDash #js [2 20] - ; :lineDashOffset 1 - :width (case (:shape m) - ("polygon" "linestring") 10 - ("circle") 5 - ("square") 4)}) - - stroke-planning (Stroke. #js {:color "#ee00ee" - :lineDash #js [2 20] - ; :lineDashOffset 1 - :width (case (:shape m) - ("polygon" "linestring") 10 - ("circle") 5 - ("square") 4)}) + stroke-planned (Stroke. + #js{:color "#b1b7c4" + :lineDash #js[2 20] + ; :lineDashOffset 1 + :width (case (:shape m) + ("polygon" "linestring") 7 + ("circle") 5 + ("square") 4)}) + + stroke-planning (Stroke. + #js{:color "#ee00ee" + :lineDash #js[2 20] + ; :lineDashOffset 1 + :width (case (:shape m) + ("polygon" "linestring") 7 + ("circle") 5 + ("square") 4)}) stroke (Stroke. #js {:color stroke-color :lineDash (when (or selected? hover?)