0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -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
{: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)
(ctho/add-rect :rect-1 {})
(ctho/add-rect :rect-2 {})
(ctho/add-rect :rect-3 {})
(ctho/add-rect :rect-1 rect-1)
(ctho/add-rect :rect-2 rect-2)
(ctho/add-rect :rect-3 rect-3)
(toht/add-token :token-1 {:value "12"
:name "borderRadius.sm"
:type :border-radius})