1
0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-05-19 21:16:10 +02:00

Exclude hidden theme

This commit is contained in:
Andrey Fedorov 2024-12-11 17:13:23 +01:00
parent 7e8de9aa24
commit 2264efa1cd

View file

@ -886,7 +886,8 @@ When `before-set-name` is nil, move set to bottom")
(encode-dtcg [_] (encode-dtcg [_]
(let [themes (into [] (let [themes (into []
(comp (comp
(filter (partial instance? TokenTheme)) (filter #(and (instance? TokenTheme %)
(not (hidden-temporary-theme? %))))
(map (fn [token-theme] (map (fn [token-theme]
(->> token-theme (->> token-theme
(into {}) (into {})