diff --git a/styles/style.css b/styles/style.css index f737a5b..f11adb2 100644 --- a/styles/style.css +++ b/styles/style.css @@ -21,6 +21,7 @@ src: url("/styles/JetBrainsMono-Italic.woff2") format("woff2"); font-weight: normal; font-style: italic; + font-display: swap; } @font-face { @@ -28,6 +29,7 @@ src: url("/styles/JetBrainsMono-Bold.woff2") format("woff2"); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -35,6 +37,7 @@ src: url("/styles/JetBrainsMono-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; + font-display: swap; } @font-face { @@ -42,11 +45,13 @@ 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 {