From 2264efa1cdc390d1c4b59b4ada686d2b11f9e809 Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Wed, 11 Dec 2024 17:13:23 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Exclude=20hidden=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/app/common/types/tokens_lib.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index f29eb6aed..521eb87d3 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -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 {})