Remove obsolete props from bool style attrs

This commit is contained in:
Andrey Antukh 2025-06-01 11:19:34 +02:00
parent 483e88d6a3
commit 1450672341
1 changed files with 3 additions and 18 deletions

View File

@ -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]