New handlers colors

This commit is contained in:
Juan de la Cruz 2020-04-13 22:07:54 +02:00
parent fcbcb55e53
commit d9d3adb3e2

View file

@ -2,8 +2,8 @@
;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;; ;;
;; Copyright (c) 2015-2017 Juan de la Cruz <delacruzgarciajuan@gmail.com> ;; Copyright (c) 2015-2020 Juan de la Cruz <delacruzgarciajuan@gmail.com>
;; Copyright (c) 2015-2019 Andrey Antukh <niwi@niwi.nz> ;; Copyright (c) 2015-2020 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.main.ui.workspace.selection (ns uxbox.main.ui.workspace.selection
"Selection handlers component." "Selection handlers component."
@ -119,8 +119,8 @@
:style {:fillOpacity "1" :style {:fillOpacity "1"
:strokeWidth "2px" :strokeWidth "2px"
:vectorEffect "non-scaling-stroke"} :vectorEffect "non-scaling-stroke"}
:fill "rgba(49,239,184,.7)" :fill "#ffffff"
:stroke "#31EFB8" :stroke "#1FDEA7"
:cx cx :cx cx
:cy cy}]) :cy cy}])
@ -166,7 +166,7 @@
:width width :width width
:height height :height height
:stroke-dasharray (str (/ 8.0 zoom) "," (/ 5 zoom)) :stroke-dasharray (str (/ 8.0 zoom) "," (/ 5 zoom))
:style {:stroke "#31EFB8" :style {:stroke "#1FDEA7"
:fill "transparent" :fill "transparent"
:stroke-opacity "1"}}] :stroke-opacity "1"}}]
@ -220,8 +220,8 @@
:r (/ 6.0 zoom) :r (/ 6.0 zoom)
:key index :key index
:on-mouse-down #(on-mouse-down % index) :on-mouse-down #(on-mouse-down % index)
:fill "rgba(49,239,184,.7)" :fill "#ffffff"
:stroke "#31EFB8" :stroke "#1FDEA7"
:style {:cursor "pointer"}}])]))) :style {:cursor "pointer"}}])])))
;; TODO: add specs for clarity ;; TODO: add specs for clarity
@ -234,7 +234,7 @@
:width width :width width
:height height :height height
;; :stroke-dasharray (str (/ 5.0 zoom) "," (/ 5 zoom)) ;; :stroke-dasharray (str (/ 5.0 zoom) "," (/ 5 zoom))
:style {:stroke "#31EFB8" :style {:stroke "#1FDEA7"
:stroke-width "0.5" :stroke-width "0.5"
:stroke-opacity "1" :stroke-opacity "1"
:fill "transparent"}}]])) :fill "transparent"}}]]))