-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
karimim
committed
Sep 20, 2024
1 parent
8378e7c
commit e98b4f0
Showing
1 changed file
with
15 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
@use 'sass:map'; | ||
@use '../functions/tokens' as tokens; | ||
@use '../tokens/elements' as elements; | ||
|
||
tokens.$default-map: elements.$post-body; | ||
|
||
// Resets type | ||
@use '../components/fonts'; | ||
|
||
body { | ||
font-family: tokens.get('post-body', 'font-family'); | ||
font-size: tokens.get('post-body', 'font-size'); | ||
font-weight: tokens.get('post-body', 'font-weight'); | ||
line-height: tokens.get('post-body', 'line-height'); | ||
letter-spacing: tokens.get('post-body', 'letter-spacing'); | ||
color: tokens.get('post-body', 'color'); | ||
} |