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
"fonts": "@font-face { font-family: \"Custom Font Name\"; src: url(\"https://...\"); }"
508
516
}
509
517
},
510
518
"displayMode": "inline",
@@ -638,7 +646,46 @@ Example usage of standardized CSS variables:
638
646
.container {
639
647
background: var(--color-background-primary);
640
648
color: var(--color-text-primary);
641
-
font: var(--font-style-body);
649
+
font-family: var(--font-sans);
650
+
}
651
+
```
652
+
653
+
#### Custom Fonts
654
+
655
+
Hosts can provide custom fonts via `styles.css.fonts`, which can contain `@font-face` rules for self-hosted fonts, `@import` statements for font services like Google Fonts, or both:
0 commit comments