mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 19:36:13 +02:00
Minor code reorganization and wip of colors page.
This commit is contained in:
parent
a93c6bfa45
commit
9c2c7f40ba
13 changed files with 221 additions and 56 deletions
|
@ -4,6 +4,7 @@
|
|||
[cuerdas.core :as str]
|
||||
[uxbox.rstore :as rs]
|
||||
[uxbox.data.projects :as dp]
|
||||
[uxbox.data.workspace :as dw]
|
||||
[uxbox.ui.icons :as i]
|
||||
[uxbox.ui.keyboard :as k]
|
||||
[uxbox.ui.mixins :as mx]
|
||||
|
@ -20,7 +21,7 @@
|
|||
(let [curpage (rum/react wb/page-state)
|
||||
active? (= (:id curpage) (:id page))
|
||||
deletable? (> numpages 1)
|
||||
navigate #(rs/emit! (dp/go-to-project (:project page) (:id page)))
|
||||
navigate #(rs/emit! (dp/go-to (:project page) (:id page)))
|
||||
delete #(rs/emit! (dp/delete-page (:id page)))]
|
||||
(html
|
||||
[:li.single-page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue