Skip to content

Commit

Permalink
feat: add Montserrat Alternates
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Apr 15, 2024
1 parent 80f736a commit 0ccc0fb
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
52 changes: 50 additions & 2 deletions src/assets/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
}

@font-face {
font-display: swap;
font-family: "Montserrat Alternates";
font-style: normal;
font-weight: 500;
src: url("../fonts/montserrat-alternates-v17-latin-500.woff2") format("woff2");
unicode-range: U+0049, U+006C;
}

@font-face {
font-display: swap;
font-family: montserrat;
Expand All @@ -14,6 +23,15 @@
src: url("../fonts/montserrat-v26-latin-600.woff2") format("woff2");
}

@font-face {
font-display: swap;
font-family: "Montserrat Alternates";
font-style: normal;
font-weight: 600;
src: url("../fonts/montserrat-alternates-v17-latin-600.woff2") format("woff2");
unicode-range: U+0049, U+006C;
}

@font-face {
font-display: swap;
font-family: montserrat;
Expand All @@ -22,8 +40,34 @@
src: url("../fonts/montserrat-v26-latin-700.woff2") format("woff2");
}

@font-face {
font-display: swap;
font-family: "Montserrat Alternates";
font-style: normal;
font-weight: 700;
src: url("../fonts/montserrat-alternates-v17-latin-700.woff2") format("woff2");
unicode-range: U+0049, U+006C;
}

@font-face {
font-display: swap;
font-family: montserrat;
font-style: normal;
font-weight: 800;
src: url("../fonts/montserrat-v26-latin-800.woff2") format("woff2");
}

@font-face {
font-display: swap;
font-family: "Montserrat Alternates";
font-style: normal;
font-weight: 800;
src: url("../fonts/montserrat-alternates-v17-latin-800.woff2") format("woff2");
unicode-range: U+0049, U+006C;
}

:root {
--base-font-family: montserrat, sans-serif;
--base-font-family: "Montserrat Alternates", montserrat, sans-serif;
}

body {
Expand Down Expand Up @@ -79,11 +123,14 @@ h1 {
margin-block-end: 2.8125rem;
}

h2 {
font-weight: 800;
}

h2,
.title {
border-block-end: 5px solid #000;
font-size: 1.875rem;
font-weight: 600;
line-height: 1.219;
padding-block-end: 1.7rem;
}
Expand All @@ -92,6 +139,7 @@ h2,
border-block-end: 0;
display: flex;
flex-wrap: wrap;
font-weight: 500;
gap: 0.25em;
}

Expand Down

0 comments on commit 0ccc0fb

Please sign in to comment.