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:
parent
3826afb76b
commit
2a97749d23
1 changed files with 5 additions and 5 deletions
|
@ -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})
|
||||||
|
|
Loading…
Add table
Reference in a new issue