You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the downloaded font files to your websites public/static directory, here they have a `/fonts/` prefix.
23
+
Add the downloaded font files to your website's public/static directory. The examples below use a `/fonts/` prefix, but you can adjust this path to match your project structure.
24
24
25
25
Copy the below snippet into your CSS file:
26
26
27
27
```css
28
+
/* Regular weight - used for normal text */
28
29
@font-face {
29
30
font-family: 'ServerMono';
30
31
src: url('/fonts/ServerMono-Regular.woff2') format('woff2'), /* Best compression, modern browsers */
@@ -35,6 +36,7 @@ Copy the below snippet into your CSS file:
35
36
font-display: swap;
36
37
}
37
38
39
+
/* Slanted variant - used for italic/oblique text */
0 commit comments