mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 05:46:10 +02: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
|
:id ::interactions
|
||||||
:icon i/action
|
:icon i/action
|
||||||
:comp options-interactions/interactions-menu}
|
:comp options-interactions/interactions-menu}
|
||||||
{:name "Page Measures (TODO)"
|
{:name "Page settings"
|
||||||
:id ::page-measures
|
:id ::page-measures
|
||||||
:icon i/action
|
:icon i/page
|
||||||
:comp options-page/measures-menu}
|
:comp options-page/measures-menu}
|
||||||
{:name "Grid Options (TODO)"
|
{:name "Grid Options (TODO)"
|
||||||
:id ::page-grid-options
|
:id ::page-grid-options
|
||||||
:icon i/action
|
:icon i/grid
|
||||||
:comp options-page/grid-options-menu}])
|
:comp options-page/grid-options-menu}])
|
||||||
|
|
||||||
(def ^:private +menus-by-id+
|
(def ^:private +menus-by-id+
|
||||||
|
@ -141,4 +141,3 @@
|
||||||
[:div.tool-window-content
|
[:div.tool-window-content
|
||||||
[:div.element-options
|
[:div.element-options
|
||||||
(options shape)]]]))
|
(options shape)]]]))
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,13 @@
|
||||||
[:div.element-set
|
[:div.element-set
|
||||||
[:div.element-set-title (:name menu)]
|
[:div.element-set-title (:name menu)]
|
||||||
[:div.element-set-content
|
[: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
|
(mx/defc grid-options-menu
|
||||||
{:mixins [mx/static]}
|
{:mixins [mx/static]}
|
||||||
|
@ -37,5 +43,3 @@
|
||||||
[:div.element-set-title (:name menu)]
|
[:div.element-set-title (:name menu)]
|
||||||
[:div.element-set-content
|
[:div.element-set-content
|
||||||
[:strong "Content here"]]])
|
[:strong "Content here"]]])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue