ADD: Preload fonts
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
background: black;
|
||||
}
|
||||
</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>
|
||||
<body class="dark bg-background">
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -91,12 +91,12 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'PixelLg';
|
||||
src: url(fonts/SG12.ttf);
|
||||
src: url(fonts/SG12.ttf), local('monospace');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'PixelSm';
|
||||
src: url(fonts/andina.ttf);
|
||||
src: url(fonts/andina.ttf), local('monospace');
|
||||
}
|
||||
|
||||
.font-pixellg {
|
||||
|
||||
Reference in New Issue
Block a user