use those new css variables in our cljs files

This commit is contained in:
eva 2021-11-25 17:23:25 +01:00 committed by Alonso Torres
parent 039b03249b
commit 14b23b491f
22 changed files with 59 additions and 56 deletions

View file

@ -14,7 +14,7 @@
;; CONSTANTS
;; ------------------------------------------------
(def select-color "#1FDEA7")
(def select-color "var(--color-select)")
(def selection-rect-width 1)
(def select-guide-width 1)
(def select-guide-dasharray 5)

View file

@ -196,8 +196,8 @@
:y (- y 1)
:width (+ width 2)
:height (+ height 2)
:fill "#31EFB8"
:stroke "#31EFB8"
:fill "var(--color-primary)"
:stroke "var(--color-primary)"
:stroke-width (if interactions-show? 1 0)
:fill-opacity (if interactions-show? 0.2 0)
:style {:pointer-events (when frame? "none")}