Skip to content

Commit

Permalink
feat: element body base styles (#3564)
Browse files Browse the repository at this point in the history
Co-authored-by: karimim <[email protected]>
Co-authored-by: Alizé Debray <[email protected]>
  • Loading branch information
3 people authored Sep 23, 2024
1 parent 24ae008 commit 04ee6ac
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/styles/src/elements/body.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
@use 'sass:map';
@use '../functions/tokens';
@use '../tokens/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');
}

0 comments on commit 04ee6ac

Please sign in to comment.