fix: include system-ui font (#1023)

This commit is contained in:
Daniel Lautzenheiser 2024-01-03 16:30:58 -05:00 committed by GitHub
parent 0cd471ac97
commit edb5f122f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,8 @@ const Search = ({ searchablePages }: SearchProps) => {
variant="body2"
color="inherit"
sx={{
fontFamily: "'Roboto',-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif",
fontFamily:
"'Roboto',system-ui,-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif",
fontWeight: 400,
fontSize: '16px',
opacity: 0.8,

View File

@ -58,7 +58,8 @@ const useCreateTheme = (mode: PaletteMode) => {
createTheme({
palette,
typography: {
fontFamily: "'Roboto', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif",
fontFamily:
"'Roboto', system-ui, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif",
h1: {
fontSize: '42px',
fontWeight: 'bold',