0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

🐛 Allow empty fills in text content

This commit is contained in:
Andrés Moya 2023-06-05 17:37:41 +02:00
parent 3e30d4776a
commit f425a5866b

View file

@ -47,7 +47,9 @@
[:map
[:text :string]
[:key {:optional true} :string]
[:fills [:vector {:gen/max 2} ::shape/fill]]
[:fills {:optional true}
[:maybe
[:vector {:gen/max 2} ::shape/fill]]]
[:font-family {:optional true} :string]
[:font-size {:optional true} :string]
[:font-style {:optional true} :string]