f261d6f2fc
Thanks to this stack overflow answer ( https://stackoverflow.com/a/41678350/232122 ) I was able to fix the font preloading! If we put fonts.css in the public/folder and include it with normal html, we can avoid going through the build pipeline!
14 lines
290 B
CSS
14 lines
290 B
CSS
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
|
|
@font-face {
|
|
font-family: "Virgil";
|
|
src: url("FG_Virgil.ttf");
|
|
font-display: swap;
|
|
}
|
|
|
|
/* https://github.com/microsoft/cascadia-code */
|
|
@font-face {
|
|
font-family: "Cascadia";
|
|
src: url("Cascadia.ttf");
|
|
font-display: swap;
|
|
}
|