0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

initial dimensions context menu

This commit is contained in:
Akshay Gupta 2024-06-05 13:49:18 +05:30
parent 819c50eaf8
commit ed0d9e1cf5
No known key found for this signature in database

View file

@ -125,6 +125,16 @@
{:title "Min height" :attributes #{:layout-item-min-h}}
{:title "Max height" :attributes #{:layout-item-max-h}}])
:dimensions (attributes->actions
apply-sizing-token
[{:title "Spacing" :attributes #{:width :height}}
{:title "Sizing" :attributes #{:width}}
{:title "Border Radius" :attributes #{:height}}
{:title "Border Width" :attributes #{:width}}
{:title "x" :attributes #{:width}}
{:title "y" :attributes #{:width}}
{:title "Background blur" :attributes #{:width}}])
[])))
(defn generate-menu-entries [{:keys [token-id token-type-props token-type selected-shapes] :as context-data}]