Skip to content

Commit 4715668

Browse files
committed
feat: update README.md copy
1 parent a6303ef commit 4715668

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ brew install --cask font-server-mono
2020

2121
## Usage
2222

23-
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.
2424

2525
Copy the below snippet into your CSS file:
2626

2727
```css
28+
/* Regular weight - used for normal text */
2829
@font-face {
2930
font-family: 'ServerMono';
3031
src: url('/fonts/ServerMono-Regular.woff2') format('woff2'), /* Best compression, modern browsers */
@@ -35,6 +36,7 @@ Copy the below snippet into your CSS file:
3536
font-display: swap;
3637
}
3738

39+
/* Slanted variant - used for italic/oblique text */
3840
@font-face {
3941
font-family: 'ServerMono';
4042
src: url('/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),

0 commit comments

Comments
 (0)