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

change dimension to dimensions across

This commit is contained in:
Akshay Gupta 2024-06-05 13:49:00 +05:30
parent 01d2a25c8c
commit 819c50eaf8
No known key found for this signature in database
4 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,7 @@
:border-radius
:stroke-width
:box-shadow
:dimension
:dimensions
:numeric
:opacity
:other

View file

@ -159,7 +159,7 @@
:modal {:key :tokens/sizing
:fields [{:label "Sizing"
:key :sizing}]}}]
[:dimension
[:dimensions
{:title "Dimensions"
:attributes ctt/dimensions-keys
:on-update-shape update-shape-dimensions

View file

@ -67,6 +67,7 @@
on-submit (fn [e]
(dom/prevent-default e)
(println "token type is" (:type token) token-type)
(let [token-value (-> (fields->map @state)
(first)
(val))

View file

@ -51,7 +51,7 @@
:stroke-width i/stroke-size
:typography i/text
;; TODO: Add diagonal icon here when it's available
:dimension [:div {:style {:rotate "45deg"}} i/constraint-horizontal]
:dimensions [:div {:style {:rotate "45deg"}} i/constraint-horizontal]
:sizing [:div {:style {:rotate "45deg"}} i/constraint-horizontal]
i/add))