mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 17:37:27 -04:00
✨ Exclude hidden theme
This commit is contained in:
1 parent
7e8de9aa24
commit
2264efa1cd
1 file changed
+2
-1
@@ -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