mirror of https://github.com/penpot/penpot.git
✨ Remove obsolete props from bool style attrs
This commit is contained in:
parent
483e88d6a3
commit
1450672341
|
|
@ -19,27 +19,12 @@
|
|||
[{:fill-color clr/black}])
|
||||
|
||||
(def group-style-properties
|
||||
[:shadow :blur])
|
||||
#{:shadow :blur})
|
||||
|
||||
;; FIXME: revisit
|
||||
(def style-properties
|
||||
(into group-style-properties
|
||||
[:fill-color
|
||||
: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]))
|
||||
[:fills :strokes]))
|
||||
|
||||
(defn add-previous
|
||||
([content]
|
||||
|
|
|
|||
Loading…
Reference in New Issue