Skip to content

Commit 5e01c12

Browse files
chore: changeset
1 parent 57ad89a commit 5e01c12

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.changeset/tricky-books-hang.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Allows specifying what weight (and optionally style) to preload for a given font family when using the experimental fonts API:
6+
7+
```astro
8+
---
9+
import { Font } from 'astro:assets'
10+
---
11+
12+
<Font cssVariable='--font-test' preload={[{ weight: 400 }]} />
13+
```

0 commit comments

Comments
 (0)