🐛 Display token themes as a string

This commit is contained in:
Xavier Julian 2025-09-10 13:24:24 +02:00 committed by Xaviju
parent 382b5e7e3a
commit 563f608255

View File

@ -10,11 +10,10 @@
[{:keys [theme-paths set-names]}]
[:div {:class (stl/css :tokens-panel)}
(when (seq theme-paths)
(for [theme theme-paths]
[:> properties-row* {:key theme
:class (stl/css :token-theme)
(let [theme-list (str/join ", " theme-paths)]
[:> properties-row* {:class (stl/css :token-theme)
:term (tr "inspect.tabs.styles.panel.tokens.active-themes")
:detail theme}]))
:detail theme-list}]))
(when (seq set-names)
(let [sets-list (str/join ", " set-names)]
[:> properties-row* {:class (stl/css :token-theme)