Added missing font-display directive, which cause text to appear late and caused a flash of invisible text while the font was loading
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
a1bab9bbdd
commit
457f0e999a
@ -4,16 +4,19 @@
|
||||
@font-face {
|
||||
font-family: 'JetBrains Mono';
|
||||
src: url("/assets/fonts/JetBrainsMono.ttf");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'IBM Plex Mono';
|
||||
src: url("/assets/fonts/IBMPlexMono.ttf");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url("/assets/fonts/OpenSans-Regular.ttf");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
|
Loading…
Reference in New Issue
Block a user