Skip to content

Commit

Permalink
Make "planned" and "planning" styles look less aggressive
Browse files Browse the repository at this point in the history
  • Loading branch information
vharmain committed Oct 26, 2024
1 parent 186e1c2 commit 61e045b
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions webapp/src/cljs/lipas/ui/map/styles.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
Expand Down

0 comments on commit 61e045b

Please sign in to comment.