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
Copy file name to clipboardExpand all lines: src/content/docs/en/reference/experimental-flags/fonts.mdx
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ body {
82
82
});
83
83
```
84
84
85
-
More configuration options, such as defining [fallback font families](#fallbacks) and which [`weights`](#weights) and [`styles`](#styles) to download, are available and some will depend on your chosen provider.
85
+
More configuration options, such as defining [fallback font families](#fallbacks) and which [`weights`](#weights), [`styles`](#styles) and [`subsets`](#subsets) to download, are available and some will depend on your chosen provider.
86
86
87
87
See the full [configuration reference](#font-configuration-reference) to learn more.
88
88
@@ -152,7 +152,9 @@ body {
152
152
153
153
## Available remote font providers
154
154
155
-
Astro re-exports most [unifont](https://github.com/unjs/unifont/) providers. The following have built-in support:
155
+
Astro re-exports most [unifont](https://github.com/unjs/unifont/) providers. You can also [make a custom Astro font provider](#build-your-own-font-provider) for any unifont provider.
156
+
157
+
The following providers have built-in support:
156
158
157
159
-[Adobe](https://fonts.adobe.com/)
158
160
-[Bunny](https://fonts.bunny.net/)
@@ -167,9 +169,11 @@ To use a built-in remote provider, configure `provider` with the appropriate val
Pass the Adobe font provider an ID loaded as an [environment variable in your Astro config file](/en/guides/environment-variables/#in-the-astro-config-file).
0 commit comments