mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 13:11:39 +02:00
♻️ Rename text align icons for consistency
This commit is contained in:
parent
a4ed1f30a4
commit
b798f7a988
6 changed files with 12 additions and 12 deletions
|
@ -11,10 +11,10 @@
|
|||
|
||||
(def action (icon-xref :action))
|
||||
(def actions (icon-xref :actions))
|
||||
(def align-center (icon-xref :align-center))
|
||||
(def align-justify (icon-xref :align-justify))
|
||||
(def align-left (icon-xref :align-left))
|
||||
(def align-right (icon-xref :align-right))
|
||||
(def text-align-center (icon-xref :text-align-center))
|
||||
(def text-align-justify (icon-xref :text-align-justify))
|
||||
(def text-align-left (icon-xref :text-align-left))
|
||||
(def text-align-right (icon-xref :text-align-right))
|
||||
(def alignment (icon-xref :alignment))
|
||||
(def arrow (icon-xref :arrow))
|
||||
(def arrow-down (icon-xref :arrow-down))
|
||||
|
|
|
@ -263,16 +263,16 @@
|
|||
[:div.row-flex.align-icons
|
||||
[:span {:class (when (= text-align "left") "current")
|
||||
:on-click #(on-font-align-change % "left")}
|
||||
i/align-left]
|
||||
i/text-align-left]
|
||||
[:span {:class (when (= text-align "center") "current")
|
||||
:on-click #(on-font-align-change % "center")}
|
||||
i/align-center]
|
||||
i/text-align-center]
|
||||
[:span {:class (when (= text-align "right") "current")
|
||||
:on-click #(on-font-align-change % "right")}
|
||||
i/align-right]
|
||||
i/text-align-right]
|
||||
[:span {:class (when (= text-align "justify") "current")
|
||||
:on-click #(on-font-align-change % "justify")}
|
||||
i/align-justify]]]]))
|
||||
i/text-align-justify]]]]))
|
||||
|
||||
(def +fonts+
|
||||
[{:id "sourcesanspro"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue