Add context menu for typography

This commit is contained in:
Florian Schroedl 2025-09-01 16:20:08 +02:00 committed by Andrés Moya
parent 5f37601122
commit bedb98ad9f
1 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,7 @@
text-case (partial generic-attribute-actions #{:text-case} "Text Case")
text-decoration (partial generic-attribute-actions #{:text-decoration} "Text Decoration")
font-weight (partial generic-attribute-actions #{:font-weight} "Font Weight")
typography (partial generic-attribute-actions #{:typography} "Typography")
border-radius (partial all-or-separate-actions {:attribute-labels {:r1 "Top Left"
:r2 "Top Right"
:r4 "Bottom Left"
@ -302,6 +303,7 @@
:text-case text-case
:text-decoration text-decoration
:font-weight font-weight
:typography typography
:dimensions (fn [context-data]
(-> (concat
(when (seq (sizing-attribute-actions context-data)) [{:title "Sizing" :submenu :sizing}])