mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Exclude hidden theme
This commit is contained in:
@@ -886,7 +886,8 @@ When `before-set-name` is nil, move set to bottom")
|
||||
(encode-dtcg [_]
|
||||
(let [themes (into []
|
||||
(comp
|
||||
(filter (partial instance? TokenTheme))
|
||||
(filter #(and (instance? TokenTheme %)
|
||||
(not (hidden-temporary-theme? %))))
|
||||
(map (fn [token-theme]
|
||||
(->> token-theme
|
||||
(into {})
|
||||
|
||||
Reference in New Issue
Block a user