mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
Vendor fonts for offline usage (#839)
This should reduce loading time as browsers show a blank screen while they try and load the inaccessible Google Fonts. Fontsource simply provides an easy way to integrate the font without much work on our end.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500&display=swap');
|
||||
@import "~@fontsource/prompt/index.css";
|
||||
$default-font: "Prompt",
|
||||
sans-serif !default;
|
||||
$body-font-family: $default-font;
|
||||
|
||||
Reference in New Issue
Block a user