mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 02:47:13 +02:00
✨ Add new asset advanced optios css
This commit is contained in:
parent
d4b02e36a7
commit
6404907699
3 changed files with 24 additions and 4 deletions
|
@ -424,7 +424,8 @@
|
|||
[:div.element-set-content
|
||||
[:> font-options opts]
|
||||
[:div.row-flex
|
||||
[:> spacing-options opts]
|
||||
[:> spacing-options opts]]
|
||||
[:div.row-flex
|
||||
[:> text-transform-options opts]]]))
|
||||
|
||||
|
||||
|
@ -501,6 +502,10 @@
|
|||
[:span.label (tr "workspace.assets.typography.font-id")]
|
||||
[:span (:font-id typography)]]
|
||||
|
||||
[:div.element-set-actions-button
|
||||
{:on-click #(reset! open? true)}
|
||||
i/actions]
|
||||
|
||||
[:div.row-flex
|
||||
[:span.label (tr "workspace.assets.typography.font-variant-id")]
|
||||
[:span (:font-variant-id typography)]]
|
||||
|
@ -532,6 +537,11 @@
|
|||
{:type "text"
|
||||
:ref name-input-ref
|
||||
:default-value (cp/merge-path-item (:path typography) (:name typography))
|
||||
:on-blur on-name-blur}]]]
|
||||
:on-blur on-name-blur}]
|
||||
|
||||
[:div.element-set-actions-button
|
||||
{:on-click #(reset! open? false)}
|
||||
i/actions]]]
|
||||
|
||||
[:& typography-options {:values typography
|
||||
:on-change on-change}]])]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue