mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Remove unneeded function
This commit is contained in:
parent
b4d7680cb4
commit
23de79bd04
1 changed files with 0 additions and 11 deletions
|
@ -20,17 +20,6 @@
|
|||
(.-tokens (.-dictionary res)))})
|
||||
sd))
|
||||
|
||||
;; Helpers ---------------------------------------------------------------------
|
||||
|
||||
(defn tokens->tree
|
||||
"Convert flat tokens list into a tokens tree that is consumable by StyleDictionary."
|
||||
[tokens]
|
||||
(reduce
|
||||
(fn [acc [_ {:keys [type name] :as token}]]
|
||||
(->> (update token :id str)
|
||||
(assoc-in acc [type name])))
|
||||
{} tokens))
|
||||
|
||||
;; Functions -------------------------------------------------------------------
|
||||
|
||||
(defn tokens->style-dictionary+
|
||||
|
|
Loading…
Add table
Reference in a new issue