mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
add page settings options module
This commit is contained in:
parent
b319ee056d
commit
17f567a4da
2 changed files with 10 additions and 7 deletions
|
@ -78,13 +78,13 @@
|
|||
:id ::interactions
|
||||
:icon i/action
|
||||
:comp options-interactions/interactions-menu}
|
||||
{:name "Page Measures (TODO)"
|
||||
{:name "Page settings"
|
||||
:id ::page-measures
|
||||
:icon i/action
|
||||
:icon i/page
|
||||
:comp options-page/measures-menu}
|
||||
{:name "Grid Options (TODO)"
|
||||
:id ::page-grid-options
|
||||
:icon i/action
|
||||
:icon i/grid
|
||||
:comp options-page/grid-options-menu}])
|
||||
|
||||
(def ^:private +menus-by-id+
|
||||
|
@ -141,4 +141,3 @@
|
|||
[:div.tool-window-content
|
||||
[:div.element-options
|
||||
(options shape)]]]))
|
||||
|
||||
|
|
|
@ -28,7 +28,13 @@
|
|||
[:div.element-set
|
||||
[:div.element-set-title (:name menu)]
|
||||
[:div.element-set-content
|
||||
[:strong "Content here"]]])
|
||||
[:span "Size"]
|
||||
[:div.row-flex
|
||||
[:div.input-element.pixels
|
||||
[:input.input-text {:type "number" :placeholder "x"}]]
|
||||
[:div.input-element.pixels
|
||||
[:input.input-text {:type "number" :placeholder "y"}]]]
|
||||
[:span "Background color"]]])
|
||||
|
||||
(mx/defc grid-options-menu
|
||||
{:mixins [mx/static]}
|
||||
|
@ -37,5 +43,3 @@
|
|||
[:div.element-set-title (:name menu)]
|
||||
[:div.element-set-content
|
||||
[:strong "Content here"]]])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue