diff --git a/docs/data/material/customization/typography/typography.md b/docs/data/material/customization/typography/typography.md index 51c34b3b06a1f6..5471d427ad1d51 100644 --- a/docs/data/material/customization/typography/typography.md +++ b/docs/data/material/customization/typography/typography.md @@ -63,6 +63,23 @@ const theme = createTheme({ } `, }, + + // or when using the ScopedCssBaseline component + + MuiScopedCssBaseline: { + styleOverrides: { + root: ` + @font-face { + font-family: 'Raleway'; + font-style: normal; + font-display: swap; + font-weight: 400; + src: local('Raleway'), local('Raleway-Regular'), url(${RalewayWoff2}) format('woff2'); + unicodeRange: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF; + } + `, + }, + }, }, });