Skip to content

Commit

Permalink
Update text typographic styles for consistency (#4212)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Wooding <[email protected]>
  • Loading branch information
Fercas123 and joshwooding authored Sep 30, 2024
1 parent 70a5b46 commit 9edf6c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/slow-suns-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/core": patch
---

Added letter-spacing to `Text` for consistency.
1 change: 1 addition & 0 deletions packages/core/src/text/Text.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
font-size: var(--saltText-fontSize, var(--salt-text-fontSize));
line-height: var(--saltText-lineHeight, var(--salt-text-lineHeight));
font-weight: var(--saltText-fontWeight, var(--salt-text-fontWeight));
letter-spacing: var(--salt-text-letterSpacing);
}

.saltText::selection {
Expand Down

0 comments on commit 9edf6c4

Please sign in to comment.