Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
updated helpers (text-align)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderlineWords committed Apr 24, 2023
1 parent 147c1fb commit 24209d6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Utilities/_config/text-align.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
///
/// Text Align
///
/// The text-align property specifies the horizontal alignment of text in an element.
///
$text-align: (
// class name, value
("text-left", left),
("text-right", right),
("text-center", center),
("text-justify", justify),
("text-start", start),
("text-end", end)
);
3 changes: 3 additions & 0 deletions src/Utilities/helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
/// Resize
@include setHelperList($resizes, "resize", "!important");

/// Text Align
@include setHelperList($text-align, "text-align", "!important");

/// Text Colors
@include setHelperList($text-colors, "color", "!important");
@include setColorScale($text-colors, "color"); // color scale
Expand Down
1 change: 1 addition & 0 deletions src/Utilities/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
@forward "_config/place-self";
@forward "_config/position";
@forward "_config/resize";
@forward "_config/text-align";
@forward "_config/text-colors";
@forward "_config/text-decoration";
@forward "_config/text-transform";
Expand Down

0 comments on commit 24209d6

Please sign in to comment.