Skip to content

Commit

Permalink
feat: added letter-spacing utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Apr 21, 2023
1 parent e0d865a commit 283dddd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions low/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,15 @@ $justify-content: (
around: space-around,
) !default;

$letter-spacing: (
tighter: -0.05em,
tight: -0.025em,
normal: 0,
wide: 0.025em,
wider: 0.05em,
widest: 0.1em,
) !default;

$line-height: (
none: 1,
tight: 1.25,
Expand Down
9 changes: 9 additions & 0 deletions low/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,15 @@ $all-utilities: (
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight",
description: "Utilities for setting the font-weight property of the element.",
),
letter-spacing: (
group: "typography",
alias: "tracking",
variants: ("default"),
properties: (letter-spacing),
values: config.$letter-spacing,
url: "https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing",
description: "Utilities for setting the horizontal spacing behavior between text characters.",
),
line-height: (
group: "typography",
alias: "lh",
Expand Down

0 comments on commit 283dddd

Please sign in to comment.