diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index 64fef32eb9..d3c6ceef9c 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -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+