♻️ Rename text align icons for consistency

This commit is contained in:
Andrés Moya 2020-04-07 12:34:25 +02:00
parent a4ed1f30a4
commit b798f7a988
6 changed files with 12 additions and 12 deletions

View file

Before

Width:  |  Height:  |  Size: 976 B

After

Width:  |  Height:  |  Size: 977 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 975 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 977 B

After

Width:  |  Height:  |  Size: 978 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 919 B

After

Width:  |  Height:  |  Size: 920 B

Before After
Before After

View file

@ -11,10 +11,10 @@
(def action (icon-xref :action)) (def action (icon-xref :action))
(def actions (icon-xref :actions)) (def actions (icon-xref :actions))
(def align-center (icon-xref :align-center)) (def text-align-center (icon-xref :text-align-center))
(def align-justify (icon-xref :align-justify)) (def text-align-justify (icon-xref :text-align-justify))
(def align-left (icon-xref :align-left)) (def text-align-left (icon-xref :text-align-left))
(def align-right (icon-xref :align-right)) (def text-align-right (icon-xref :text-align-right))
(def alignment (icon-xref :alignment)) (def alignment (icon-xref :alignment))
(def arrow (icon-xref :arrow)) (def arrow (icon-xref :arrow))
(def arrow-down (icon-xref :arrow-down)) (def arrow-down (icon-xref :arrow-down))

View file

@ -263,16 +263,16 @@
[:div.row-flex.align-icons [:div.row-flex.align-icons
[:span {:class (when (= text-align "left") "current") [:span {:class (when (= text-align "left") "current")
:on-click #(on-font-align-change % "left")} :on-click #(on-font-align-change % "left")}
i/align-left] i/text-align-left]
[:span {:class (when (= text-align "center") "current") [:span {:class (when (= text-align "center") "current")
:on-click #(on-font-align-change % "center")} :on-click #(on-font-align-change % "center")}
i/align-center] i/text-align-center]
[:span {:class (when (= text-align "right") "current") [:span {:class (when (= text-align "right") "current")
:on-click #(on-font-align-change % "right")} :on-click #(on-font-align-change % "right")}
i/align-right] i/text-align-right]
[:span {:class (when (= text-align "justify") "current") [:span {:class (when (= text-align "justify") "current")
:on-click #(on-font-align-change % "justify")} :on-click #(on-font-align-change % "justify")}
i/align-justify]]]])) i/text-align-justify]]]]))
(def +fonts+ (def +fonts+
[{:id "sourcesanspro" [{:id "sourcesanspro"