Skip to content

Commit

Permalink
feat: add paragraph style
Browse files Browse the repository at this point in the history
  • Loading branch information
karimim committed Sep 23, 2024
1 parent 04ee6ac commit 7f07a15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/styles/src/elements/_index.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@use 'reset';
@use 'body';
@use 'paragraph';
9 changes: 9 additions & 0 deletions packages/styles/src/elements/paragraph.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@use 'sass:map';
@use '../functions/tokens';
@use '../tokens/elements';

tokens.$default-map: elements.$post-paragraph;

p {
margin-block-start: tokens.get('post-paragraph', 'margin-block-start');
}

0 comments on commit 7f07a15

Please sign in to comment.