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:
parent
1194eb7c61
commit
df8f67b5d3
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue