Swap custom fonts

This commit is contained in:
Gabriel Augendre 2022-06-28 23:33:29 +02:00
parent 27d7116c1f
commit d2173ada51
3 changed files with 4 additions and 0 deletions

View file

@ -6,4 +6,5 @@
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype-variations"), url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype-variations"),
url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype supports variations"); url('/static/vendor/fonts/Golos-Text_VF.ttf') format("truetype supports variations");
font-weight: 400 900; font-weight: 400 900;
font-display: swap;
} }

View file

@ -7,4 +7,5 @@
url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype supports variations"); url('/static/vendor/fonts/Inter-VariableFont_slnt-wght.ttf') format("truetype supports variations");
font-weight: 100 800; font-weight: 100 800;
font-style: oblique 0 10deg; font-style: oblique 0 10deg;
font-display: swap;
} }

View file

@ -6,6 +6,7 @@
url('/static/vendor/fonts/JetBrainsMono-VariableFont_wght.ttf') format("truetype-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.ttf') format("truetype supports variations");
font-weight: 100 800; font-weight: 100 800;
font-display: swap;
} }
@font-face { @font-face {
@ -17,4 +18,5 @@
url('/static/vendor/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format("truetype supports 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;
} }