Remove local fonts, only use downloaded

This commit is contained in:
Gabriel Augendre 2022-11-14 19:48:53 +01:00
parent 693942b887
commit 7c748f03f6
3 changed files with 4 additions and 10 deletions

View file

@ -1,7 +1,6 @@
@font-face { @font-face {
font-family: 'Fira Code'; font-family: 'Fira Code';
src: local("Fira Code"), src: url('fira-code-vf.woff2') format("woff2-variations");
url('fira-code-vf.woff2') format("woff2-variations");
font-weight: 300 700; font-weight: 300 700;
font-display: swap; font-display: swap;
} }

View file

@ -1,9 +1,6 @@
@font-face { @font-face {
font-family: 'Golos'; font-family: 'Golos';
src: local("Golos Text"), src: url('golos-text-vf.woff2') format("woff2-variations");
local("Golos Text VF"),
local("Golos"),
url('golos-text-vf.woff2') format("woff2-variations");
font-weight: 400 900; font-weight: 400 900;
font-display: swap; font-display: swap;
} }

View file

@ -1,15 +1,13 @@
@font-face { @font-face {
font-family: 'JetBrains Mono'; font-family: 'JetBrains Mono';
src: local("JetBrains Mono"), src: url('jetbrainsmono-variablefont-wght.woff2') format("woff2-variations");
url('jetbrainsmono-variablefont-wght.woff2') format("woff2-variations");
font-weight: 100 800; font-weight: 100 800;
font-display: swap; font-display: swap;
} }
@font-face { @font-face {
font-family: 'JetBrains Mono'; font-family: 'JetBrains Mono';
src: local("JetBrains Mono Italic"), src: url('jetbrainsmono-italic-variablefont-wght.woff2') format("woff2-variations");
url('jetbrainsmono-italic-variablefont-wght.woff2') format("woff2-variations");
font-weight: 100 800; font-weight: 100 800;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;