mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
change dimension to dimensions across
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
:border-radius
|
:border-radius
|
||||||
:stroke-width
|
:stroke-width
|
||||||
:box-shadow
|
:box-shadow
|
||||||
:dimension
|
:dimensions
|
||||||
:numeric
|
:numeric
|
||||||
:opacity
|
:opacity
|
||||||
:other
|
:other
|
||||||
|
|||||||
@@ -159,7 +159,7 @@
|
|||||||
:modal {:key :tokens/sizing
|
:modal {:key :tokens/sizing
|
||||||
:fields [{:label "Sizing"
|
:fields [{:label "Sizing"
|
||||||
:key :sizing}]}}]
|
:key :sizing}]}}]
|
||||||
[:dimension
|
[:dimensions
|
||||||
{:title "Dimensions"
|
{:title "Dimensions"
|
||||||
:attributes ctt/dimensions-keys
|
:attributes ctt/dimensions-keys
|
||||||
:on-update-shape update-shape-dimensions
|
:on-update-shape update-shape-dimensions
|
||||||
|
|||||||
@@ -67,6 +67,7 @@
|
|||||||
|
|
||||||
on-submit (fn [e]
|
on-submit (fn [e]
|
||||||
(dom/prevent-default e)
|
(dom/prevent-default e)
|
||||||
|
(println "token type is" (:type token) token-type)
|
||||||
(let [token-value (-> (fields->map @state)
|
(let [token-value (-> (fields->map @state)
|
||||||
(first)
|
(first)
|
||||||
(val))
|
(val))
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
:stroke-width i/stroke-size
|
:stroke-width i/stroke-size
|
||||||
:typography i/text
|
:typography i/text
|
||||||
;; TODO: Add diagonal icon here when it's available
|
;; 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]
|
:sizing [:div {:style {:rotate "45deg"}} i/constraint-horizontal]
|
||||||
i/add))
|
i/add))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user