mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Fix theme groups not showing up in create state
This commit is contained in:
parent
281b801112
commit
56374171d6
1 changed files with 3 additions and 1 deletions
|
@ -226,10 +226,12 @@
|
||||||
(mf/defc create-theme
|
(mf/defc create-theme
|
||||||
[{:keys [set-state]}]
|
[{:keys [set-state]}]
|
||||||
(let [token-sets (mf/deref refs/workspace-ordered-token-sets)
|
(let [token-sets (mf/deref refs/workspace-ordered-token-sets)
|
||||||
theme {:name "" :sets #{}}]
|
theme {:name "" :sets #{}}
|
||||||
|
theme-groups (mf/deref refs/workspace-token-theme-groups)]
|
||||||
[:& edit-theme
|
[:& edit-theme
|
||||||
{:token-sets token-sets
|
{:token-sets token-sets
|
||||||
:theme theme
|
:theme theme
|
||||||
|
:theme-groups theme-groups
|
||||||
:on-back #(set-state (constantly {:type :themes-overview}))
|
:on-back #(set-state (constantly {:type :themes-overview}))
|
||||||
:on-submit #(st/emit! (wdt/create-token-theme %))}]))
|
:on-submit #(st/emit! (wdt/create-token-theme %))}]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue