Skip to content

Commit

Permalink
Update font display properties (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
afnizarnur committed Apr 18, 2024
1 parent 205548c commit f245bc0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/assets/styles/base/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@font-face {
font-family: "Mona Sans";
src: url("../fonts/Mona-Sans.woff2") format("woff2 supports variations"),
url("../fonts/Mona-Sans.woff2") format("woff2-variations");
font-weight: 200 900;
font-stretch: 75% 125%;
font-display: swap;
font-family: "Mona Sans";
src: url("../fonts/Mona-Sans.woff2") format("woff2 supports variations"),
url("../fonts/Mona-Sans.woff2") format("woff2-variations");
font-weight: 200 900;
font-stretch: 75% 125%;
font-display: block;
}

@font-face {
font-family: "Inter var";
src: url("../fonts/Inter-roman.var.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-named-instance: "Regular";
font-display: swap;
font-family: "Inter var";
src: url("../fonts/Inter-roman.var.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-named-instance: "Regular";
font-display: block;
}

0 comments on commit f245bc0

Please sign in to comment.