Skip to content

Commit

Permalink
chore(ui): Removed Roboto font.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Jun 19, 2023
1 parent 340eb91 commit ad3fda1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"@ebay/nice-modal-react": "1.2.10",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@fontsource/roboto": "4.5.8",
"@mui/icons-material": "5.11.0",
"@mui/lab": "5.0.0-alpha.114",
"@mui/material": "5.11.3",
Expand Down
4 changes: 0 additions & 4 deletions ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import { NewClient } from 'api/api';
import RelayTransport from 'relay/transport';
import Root from 'Root';

import '@fontsource/roboto/300.css';
import '@fontsource/roboto/400.css';
import '@fontsource/roboto/500.css';
import '@fontsource/roboto/700.css';
import './styles/styles.css';
import './styles/index.scss';

Expand Down
7 changes: 7 additions & 0 deletions ui/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ const defaultPrimary = fullConfig.theme.colors['purple']['500']; // '#4E1AA0';
const defaultSecondary = '#FF5798';

const theme = createTheme({
typography: {
fontFamily: [
'Helvetica',
'Arial',
'sans-serif',
].join(','),
},
shape: {
borderRadius: 10,
},
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1569,11 +1569,6 @@
dependencies:
"@floating-ui/core" "^1.0.1"

"@fontsource/roboto@4.5.8":
version "4.5.8"
resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-4.5.8.tgz#56347764786079838faf43f0eeda22dd7328437f"
integrity sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==

"@hapi/hoek@^9.0.0":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
Expand Down

0 comments on commit ad3fda1

Please sign in to comment.