-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
combine text styling related files in one
text-styling file
- Loading branch information
Showing
8 changed files
with
72 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// | ||
// Text Decoration | ||
// | ||
|
||
@if $generate-utility-classes { | ||
// | ||
// Underline | ||
// | ||
$config: ( | ||
properties: text-decoration, | ||
selector: "txt", | ||
values: ( | ||
"decor-none": none, | ||
"underline": underline, | ||
), | ||
enable-important-values: true, | ||
); | ||
|
||
@include generate-style($config); | ||
|
||
// | ||
// Italic | ||
// | ||
$config: ( | ||
properties: font-style, | ||
selector: "txt", | ||
values: italic, | ||
enable-important-values: true, | ||
); | ||
|
||
@include generate-style($config); | ||
|
||
// | ||
// Shadow | ||
// | ||
$config: ( | ||
properties: text-shadow, | ||
selector: "txt-shadow", | ||
values: ( | ||
sm: 1.5px 1.75px 1px rgba($black, .075), | ||
null: 2px 2.25px 1.5px rgba($black, .15), | ||
lg: 4px 4.25px 3px rgba($black, .175), | ||
round: 0 0 3px rgba($black, .15), | ||
none: none, | ||
), | ||
enable-important-values: true, | ||
); | ||
|
||
@include generate-style($config); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters