ADD: Preload fonts
This commit is contained in:
@@ -10,6 +10,10 @@
|
|||||||
background: black;
|
background: black;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<link rel="preload" href="/src/assets/fonts/ProtoMono-Regular.ttf" as="font" crossorigin="anonymous" />
|
||||||
|
<link rel="preload" href="/src/assets/fonts/JetBrainsMono%5Bwght%5D.ttf" as="font" crossorigin="anonymous" />
|
||||||
|
<link rel="preload" href="/src/assets/fonts/SG12.ttf" as="font" crossorigin="anonymous" />
|
||||||
|
<link rel="preload" href="/src/assets/fonts/andina.ttf" as="font" crossorigin="anonymous" />
|
||||||
</head>
|
</head>
|
||||||
<body class="dark bg-background">
|
<body class="dark bg-background">
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -91,12 +91,12 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'PixelLg';
|
font-family: 'PixelLg';
|
||||||
src: url(fonts/SG12.ttf);
|
src: url(fonts/SG12.ttf), local('monospace');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'PixelSm';
|
font-family: 'PixelSm';
|
||||||
src: url(fonts/andina.ttf);
|
src: url(fonts/andina.ttf), local('monospace');
|
||||||
}
|
}
|
||||||
|
|
||||||
.font-pixellg {
|
.font-pixellg {
|
||||||
|
|||||||
Reference in New Issue
Block a user