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:
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 [_]
|
(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 {})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue