Multiple fills in text shapes

This commit is contained in:
alonso.torres 2022-02-22 18:06:48 +01:00
parent a3063eb46d
commit ec63d23666
19 changed files with 230 additions and 211 deletions

View file

@ -202,9 +202,9 @@
(s/def :internal.shape.text/content
(s/nilable
(s/or :text-container
(s/keys :req-un [:internal.shape.text/type
:internal.shape.text/children]
:opt-un [:internal.shape.text/key])
(s/keys :req-un [:internal.shape.text/type]
:opt-un [:internal.shape.text/key
:internal.shape.text/children])
:text-content
(s/keys :req-un [:internal.shape.text/text]))))

View file

@ -26,8 +26,8 @@
:text-transform "none"
:text-align "left"
:text-decoration "none"
:fill-color clr/black
:fill-opacity 1})
:fills [{:fill-color clr/black
:fill-opacity 1}]})
(def typography-fields
[:font-id