Add font-swap to third-party font.

This commit is contained in:
Luigi Cruz 2020-08-09 20:09:03 -03:00 committed by GitHub
parent e6be81c664
commit d75ae3fae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("../fonts/FiraCode-Regular.woff") format("woff"); src: url("../fonts/FiraCode-Regular.woff") format("woff");
font-display: swap;
} }
@font-face { @font-face {
@ -10,4 +11,5 @@
font-style: normal; font-style: normal;
font-weight: 800; font-weight: 800;
src: url("../fonts/FiraCode-Bold.woff") format("woff"); src: url("../fonts/FiraCode-Bold.woff") format("woff");
font-display: swap;
} }