From 216b3ec178149f59637ef2582ee792bd5bac5588 Mon Sep 17 00:00:00 2001 From: coltborg Date: Thu, 12 Sep 2024 22:38:33 -0500 Subject: [PATCH] Add swap to all fonts --- styles/style.css | 5 +++++ 1 file changed, 5 insertions(+) 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 {