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",
@@ -544,6 +552,7 @@ type McpUiStyleVariableKey =
544
552
|"--color-text-success"
545
553
|"--color-text-warning"
546
554
|"--color-text-disabled"
555
+
|"--color-text-ghost"
547
556
// Border colors
548
557
|"--color-border-primary"
549
558
|"--color-border-secondary"
@@ -638,7 +647,46 @@ Example usage of standardized CSS variables:
638
647
.container {
639
648
background: var(--color-background-primary);
640
649
color: var(--color-text-primary);
641
-
font: var(--font-style-body);
650
+
font-family: var(--font-sans);
651
+
}
652
+
```
653
+
654
+
#### Custom Fonts
655
+
656
+
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