Cleanup fonts

This commit is contained in:
Gabriel Augendre 2022-06-29 19:34:42 +02:00
parent d2173ada51
commit 408c4d248f
8 changed files with 6 additions and 24 deletions

View file

@ -1,10 +1,9 @@
@font-face {
font-family: 'Golos';
src: local("Golos"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2-variations"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2 supports variations"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype-variations"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype supports variations");
src: local("Golos Text"),
local("Golos Text VF"),
local("Golos"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2-variations");
font-weight: 400 900;
font-display: swap;
}

View file

@ -1,11 +0,0 @@
@font-face {
font-family: 'Inter';
src: local("Inter"),
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2') format("woff2-variations"),
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.woff2') format("woff2 supports variations"),
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype-variations"),
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype supports variations");
font-weight: 100 800;
font-style: oblique 0 10deg;
font-display: swap;
}

View file

@ -1,10 +1,7 @@
@font-face {
font-family: 'JetBrains Mono';
src: local("JetBrains Mono"),
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.woff2') format("woff2-variations"),
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.woff2') format("woff2 supports variations"),
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.ttf') format("truetype-variations"),
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.ttf') format("truetype supports variations");
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.woff2') format("woff2-variations");
font-weight: 100 800;
font-display: swap;
}
@ -12,10 +9,7 @@
@font-face {
font-family: 'JetBrains Mono';
src: local("JetBrains Mono Italic"),
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.woff2') format("woff2-variations"),
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.woff2') format("woff2 supports variations"),
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format("truetype-variations"),
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format("truetype supports variations");
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.woff2') format("woff2-variations");
font-weight: 100 800;
font-style: italic;
font-display: swap;