Skip to content

Commit

Permalink
feat(text): remove native margins from tags p & h*
Browse files Browse the repository at this point in the history
Signed-off-by: Stagnol <[email protected]>
  • Loading branch information
astagnol authored and dpellier committed Sep 30, 2024
1 parent 6b1729a commit 51f4e7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ods/src/style/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,42 @@
}

@mixin ods-text-heading-1() {
margin: 0;
color: var(--ods-color-heading);
font-size: 36px;
font-weight: 700;
}

@mixin ods-text-heading-2() {
margin: 0;
color: var(--ods-color-heading);
font-size: 28px;
font-weight: 700;
}

@mixin ods-text-heading-3() {
margin: 0;
color: var(--ods-color-heading);
font-size: 24px;
font-weight: 700;
}

@mixin ods-text-heading-4() {
margin: 0;
color: var(--ods-color-heading);
font-size: 20px;
font-weight: 700;
}

@mixin ods-text-heading-5() {
margin: 0;
color: var(--ods-color-heading);
font-size: 18px;
font-weight: 700;
}

@mixin ods-text-heading-6() {
margin: 0;
color: var(--ods-color-heading);
font-size: 16px;
font-weight: 700;
Expand All @@ -54,6 +60,7 @@
}

@mixin ods-text-paragraph() {
margin: 0;
color: var(--ods-color-text);
font-size: 16px;
font-weight: 400;
Expand Down

0 comments on commit 51f4e7f

Please sign in to comment.