0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Remove unused

This commit is contained in:
Florian Schroedl 2024-07-04 10:48:27 +02:00
parent a842cb2d7d
commit 1f0f35e754

View file

@ -23,20 +23,6 @@
(let [id (thi/id label)]
(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]
(let [first-page-id (get-in file [:data :pages 0])
shape-id (thi/id shape-label)