Skip to content

Commit 59029ef

Browse files
authored
Update font-family.mdx, remove quotes from generic font-family (#2323)
1 parent 3fbb97b commit 59029ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/font-family.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ Use utilities like `font-sans` and `font-mono` to set the font family of an elem
7878
utility="font"
7979
name="font family"
8080
customName="display"
81-
customValue='"Oswald", "sans-serif"'
81+
customValue='"Oswald", sans-serif'
8282
>
8383

8484
You can also provide default `font-feature-settings` and `font-variation-settings` values for a font family:
8585

8686
```css
8787
@theme {
88-
--font-display: "Oswald", "sans-serif";
88+
--font-display: "Oswald", sans-serif;
8989
--font-display--font-feature-settings: "cv02", "cv03", "cv04", "cv11"; /* [!code highlight] */
9090
--font-display--font-variation-settings: "opsz" 32; /* [!code highlight] */
9191
}

0 commit comments

Comments
 (0)