0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 14:39:45 -05:00

Add shape property passing

This commit is contained in:
Florian Schroedl 2024-08-05 11:42:36 +02:00
parent 3826afb76b
commit 2a97749d23

View file

@ -14,12 +14,12 @@
(t/use-fixtures :each (t/use-fixtures :each
{:before thp/reset-idmap!}) {:before thp/reset-idmap!})
(defn- setup-file (defn setup-file
[] [& {:keys [rect-1 rect-2 rect-3]}]
(-> (cthf/sample-file :file-1 :page-label :page-1) (-> (cthf/sample-file :file-1 :page-label :page-1)
(ctho/add-rect :rect-1 {}) (ctho/add-rect :rect-1 rect-1)
(ctho/add-rect :rect-2 {}) (ctho/add-rect :rect-2 rect-2)
(ctho/add-rect :rect-3 {}) (ctho/add-rect :rect-3 rect-3)
(toht/add-token :token-1 {:value "12" (toht/add-token :token-1 {:value "12"
:name "borderRadius.sm" :name "borderRadius.sm"
:type :border-radius}) :type :border-radius})