Skip to content

Commit

Permalink
Reorganize declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
markteekman committed Nov 25, 2021
1 parent 9493f1f commit 881e4ca
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions src/styles/base/_font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;

*:focus {
@include outline;
}

// anchor links
a {
color: var(--action-color);

Expand All @@ -44,6 +41,22 @@ body {
}

// headings
:where(h1, h2) {
font-family: var(--font-family-special);
}

h1,
h2 {
font-weight: 800;
}

h3,
h4,
h5,
h6 {
font-weight: 600;
}

h1 {
@include size-36;

Expand Down Expand Up @@ -91,20 +104,4 @@ body {
@include size-18;
}
}

:where(h1, h2) {
font-family: var(--font-family-special);
}

h1,
h2 {
font-weight: 800;
}

h3,
h4,
h5,
h6 {
font-weight: 600;
}
}

0 comments on commit 881e4ca

Please sign in to comment.