fix(striker-ui): add font source code pro to theme

main
Tsu-ba-me 3 years ago
parent 06fada6c0b
commit 98fbb793a5
  1. 7
      striker-ui/theme/index.ts

@ -1,9 +1,14 @@
import { createTheme, Theme } from '@mui/material';
import { switchClasses } from '@mui/material/Switch';
import '@fontsource/roboto-condensed/300.css';
import '@fontsource/roboto-condensed/400.css';
import '@fontsource/roboto-condensed/700.css';
import '@fontsource/source-code-pro/300.css';
import '@fontsource/source-code-pro/400.css';
import '@fontsource/source-code-pro/700.css';
import {
PANEL_BACKGROUND,
TEXT,
@ -26,7 +31,7 @@ const theme: Theme = createTheme({
},
},
typography: {
fontFamily: ['"Roboto Condensed"'].join(','),
fontFamily: ['"Roboto Condensed"', '"Source Code Pro"'].join(','),
fontWeightRegular: 200,
fontSize: 14,
},

Loading…
Cancel
Save