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:
parent
01d2a25c8c
commit
819c50eaf8
4 changed files with 4 additions and 3 deletions
|
@ -37,7 +37,7 @@
|
|||
:border-radius
|
||||
:stroke-width
|
||||
:box-shadow
|
||||
:dimension
|
||||
:dimensions
|
||||
:numeric
|
||||
:opacity
|
||||
:other
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue