mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 22:28:26 +02:00
✨ Multiple fills in text shapes
This commit is contained in:
parent
a3063eb46d
commit
ec63d23666
19 changed files with 230 additions and 211 deletions
|
@ -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]))))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue