From d75ae3fae82d1f147484dbfe9b83451615066588 Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Sun, 9 Aug 2020 20:09:03 -0300 Subject: [PATCH] Add font-swap to third-party font. --- assets/css/font.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/font.css b/assets/css/font.css index 6a9eaaa..08ba77d 100644 --- a/assets/css/font.css +++ b/assets/css/font.css @@ -3,6 +3,7 @@ font-style: normal; font-weight: 400; src: url("../fonts/FiraCode-Regular.woff") format("woff"); + font-display: swap; } @font-face { @@ -10,4 +11,5 @@ font-style: normal; font-weight: 800; src: url("../fonts/FiraCode-Bold.woff") format("woff"); + font-display: swap; }