mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
Update workspace tokens
This commit is contained in:
parent
1194eb7c61
commit
df8f67b5d3
1 changed files with 4 additions and 2 deletions
|
@ -150,9 +150,11 @@
|
||||||
active-token-themes (some-> tokens-lib
|
active-token-themes (some-> tokens-lib
|
||||||
(ctob/toggle-theme-active? group name)
|
(ctob/toggle-theme-active? group name)
|
||||||
(ctob/get-active-theme-paths))
|
(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
|
(rx/of
|
||||||
(dch/commit-changes changes))))))
|
(dch/commit-changes changes)
|
||||||
|
(wtu/update-workspace-tokens))))))
|
||||||
|
|
||||||
(defn delete-token-theme [group name]
|
(defn delete-token-theme [group name]
|
||||||
(ptk/reify ::delete-token-theme
|
(ptk/reify ::delete-token-theme
|
||||||
|
|
Loading…
Reference in a new issue