mirror of
https://github.com/penpot/penpot.git
synced 2025-01-20 05:34:23 -05:00
✨ Exclude hidden theme
This commit is contained in:
parent
7e8de9aa24
commit
2264efa1cd
1 changed files with 2 additions and 1 deletions
|
@ -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 {})
|
||||
|
|
Loading…
Add table
Reference in a new issue