Skip to content

Commit

Permalink
style: add new font weight for links
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Nov 5, 2023
1 parent 4d2645f commit 287d7b3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Binary file added public/fonts/inter-v13-latin-500.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions src/components/footer/footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

& a {
color: var(--color-foreground);
font-weight: 500;
text-decoration: none;

& span {
Expand Down
1 change: 1 addition & 0 deletions src/components/sections/why/why.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
margin-top: 8px;
color: var(--color-foreground);
font-size: var(--font-sm);
font-weight: 500;
text-decoration: none;
}
}
Expand Down
9 changes: 9 additions & 0 deletions src/styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}

/* inter-500 - latin */
@font-face {
font-display: swap;
font-family: Inter;
font-style: normal;
font-weight: 500;
src: url('../fonts/inter-v13-latin-500.woff2') format('woff2');
}

/* inter-tight-600 - latin */
@font-face {
font-display: swap;
Expand Down

0 comments on commit 287d7b3

Please sign in to comment.