0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Remove : from token type in export

This commit is contained in:
Akshay Gupta 2024-06-24 18:50:36 +05:30
parent db26b38e81
commit fb7b11a139
No known key found for this signature in database

View file

@ -154,7 +154,7 @@
(let [grouped-tokens (group-by #(keyword (:name (second %))) tokens)
map-token (fn [token]
{:value (:value token)
:type (kebab-to-camel (:type token))})]
:type (kebab-to-camel (name (:type token)))})]
{:global (into (sorted-map)
(map (fn [[name tokens]]
[(keyword name)