Changed transparent for none

This commit is contained in:
alonso.torres 2021-05-25 15:55:03 +02:00
parent a80120278e
commit 641e4080bc
11 changed files with 29 additions and 23 deletions

View file

@ -89,7 +89,7 @@
;; we setup the default fill as transparent (instead of black)
(and (not (contains? shape :svg-attrs))
(not (#{ :svg-raw :group } (:type shape))))
{:fill "transparent"}
{:fill "none"}
:else
{})

View file

@ -28,8 +28,8 @@
#js {:d pdata}))]
(if background?
[:g
[:path {:stroke "transparent"
:fill "transparent"
[:path {:stroke "none"
:fill "none"
:stroke-width "20px"
:d pdata}]
[:& shape-custom-stroke {:shape shape