mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 04:38:14 +00:00
🐛 Display token themes as a string
This commit is contained in:
parent
382b5e7e3a
commit
563f608255
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user