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

🐛 Fix create color assets opacity specs

This commit is contained in:
Alejandro Alonso 2023-05-31 10:19:38 +02:00
parent 5a733c84be
commit 917f0d2b20

View file

@ -58,7 +58,7 @@
[:vector {:min 1 :gen/max 2}
[:map {:title "GradientStop"}
[:color ::rgb-color]
[:opacity ::sm/safe-number]
[:opacity {:optional true} [:maybe ::sm/safe-number]]
[:offset ::sm/safe-number]]]]])
(sm/def! ::color