0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Update workspace tokens

This commit is contained in:
Florian Schroedl 2024-09-30 13:52:50 +02:00
parent 1194eb7c61
commit df8f67b5d3

View file

@ -150,9 +150,11 @@
active-token-themes (some-> tokens-lib
(ctob/toggle-theme-active? group name)
(ctob/get-active-theme-paths))
changes (pcb/update-active-token-themes (pcb/empty-changes it) active-token-themes prev-active-token-themes)]
changes (-> (pcb/empty-changes it)
(pcb/update-active-token-themes active-token-themes prev-active-token-themes))]
(rx/of
(dch/commit-changes changes))))))
(dch/commit-changes changes)
(wtu/update-workspace-tokens))))))
(defn delete-token-theme [group name]
(ptk/reify ::delete-token-theme