Skip to content

Commit

Permalink
Add swap to all fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
cy-by committed Sep 13, 2024
1 parent 6e29fa2 commit 216b3ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,37 @@
src: url("/styles/JetBrainsMono-Italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "JetBrainsMono";
src: url("/styles/JetBrainsMono-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "JetBrainsMono";
src: url("/styles/JetBrainsMono-ExtraBold.woff2") format("woff2");
font-weight: 800;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "JetBrainsMono";
src: url("/styles/JetBrainsMono-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "FontWithASyntaxHighlighter";
src: url("/styles/FontWithASyntaxHighlighter-Regular.woff2") format("woff2");
font-display: swap;
}

body {
Expand Down

0 comments on commit 216b3ec

Please sign in to comment.