mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 06:58:57 +00:00
✨ Remove obsolete props from bool style attrs
This commit is contained in:
parent
483e88d6a3
commit
1450672341
@ -19,27 +19,12 @@
|
|||||||
[{:fill-color clr/black}])
|
[{:fill-color clr/black}])
|
||||||
|
|
||||||
(def group-style-properties
|
(def group-style-properties
|
||||||
[:shadow :blur])
|
#{:shadow :blur})
|
||||||
|
|
||||||
|
;; FIXME: revisit
|
||||||
(def style-properties
|
(def style-properties
|
||||||
(into group-style-properties
|
(into group-style-properties
|
||||||
[:fill-color
|
[:fills :strokes]))
|
||||||
:fill-opacity
|
|
||||||
:fill-color-gradient
|
|
||||||
:fill-color-ref-file
|
|
||||||
:fill-color-ref-id
|
|
||||||
:fill-image
|
|
||||||
:fills
|
|
||||||
:stroke-color
|
|
||||||
:stroke-color-ref-file
|
|
||||||
:stroke-color-ref-id
|
|
||||||
:stroke-opacity
|
|
||||||
:stroke-style
|
|
||||||
:stroke-width
|
|
||||||
:stroke-alignment
|
|
||||||
:stroke-cap-start
|
|
||||||
:stroke-cap-end
|
|
||||||
:strokes]))
|
|
||||||
|
|
||||||
(defn add-previous
|
(defn add-previous
|
||||||
([content]
|
([content]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user