mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
Remove unused
This commit is contained in:
parent
a842cb2d7d
commit
1f0f35e754
1 changed files with 0 additions and 14 deletions
|
@ -23,20 +23,6 @@
|
||||||
(let [id (thi/id label)]
|
(let [id (thi/id label)]
|
||||||
(get-in file [:data :tokens id])))
|
(get-in file [:data :tokens id])))
|
||||||
|
|
||||||
(def radius-token
|
|
||||||
{:value "12"
|
|
||||||
:name "sm"
|
|
||||||
:type :border-radius})
|
|
||||||
|
|
||||||
(def radius-ref-token
|
|
||||||
{:value "{sm} * 2"
|
|
||||||
:name "md"
|
|
||||||
:type :border-radius})
|
|
||||||
|
|
||||||
(def test-tokens
|
|
||||||
{(:id radius-token) radius-token
|
|
||||||
(:id radius-ref-token) radius-ref-token})
|
|
||||||
|
|
||||||
(defn apply-token-to-shape [file shape-label token-label attributes]
|
(defn apply-token-to-shape [file shape-label token-label attributes]
|
||||||
(let [first-page-id (get-in file [:data :pages 0])
|
(let [first-page-id (get-in file [:data :pages 0])
|
||||||
shape-id (thi/id shape-label)
|
shape-id (thi/id shape-label)
|
||||||
|
|
Loading…
Add table
Reference in a new issue