Update docs/getting-started/app-custom-theme.md

Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
Signed-off-by: James D. <71669407+JamesAtIntegratnIO@users.noreply.github.com>
Signed-off-by: James D <james@integratn.io>
This commit is contained in:
James D
2024-04-01 07:36:45 -06:00
committed by James D
parent 7e10b29203
commit ef6def3d18
+1 -1
View File
@@ -229,7 +229,7 @@ const myTheme = createUnifiedTheme({
```
## Custom Fonts
To add custom fonts, you first need to declare the font style following the `@font-face` syntax from [Mui Typography](https://mui.com/material-ui/customization/typography/). After that you can then utilize the `styleOverrides` of `MuiCssBaseline` under components to set the default font.
To add custom fonts, you first need to declare the font style following the `@font-face` syntax from [Material UI Typography](https://mui.com/material-ui/customization/typography/). After that you can then utilize the `styleOverrides` of `MuiCssBaseline` under components to set the default font.
```ts title="packages/app/src/theme/myTheme.ts"
import MyCustomFont from '../assets/fonts/My-Custom-Font.woff2';