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-face {
font-family: 'Golos'; font-family: 'Golos';
src: local("Golos"), src: local("Golos Text"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2-variations"), local("Golos Text VF"),
url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2 supports variations"), local("Golos"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype-variations"), url('/static/vendor/fonts/Golos-Text_VF.woff2') format("woff2-variations");
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype supports variations");
font-weight: 400 900; font-weight: 400 900;
font-display: swap; 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-face {
font-family: 'JetBrains Mono'; font-family: 'JetBrains Mono';
src: local("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-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");
font-weight: 100 800; font-weight: 100 800;
font-display: swap; font-display: swap;
} }
@ -12,10 +9,7 @@
@font-face { @font-face {
font-family: 'JetBrains Mono'; font-family: 'JetBrains Mono';
src: local("JetBrains Mono Italic"), 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-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");
font-weight: 100 800; font-weight: 100 800;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;