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 <a.stagnol@gmail.com>
  • 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.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy