feat: add roboto-condensed font

main
Josue 4 years ago committed by Tsu-ba-me
parent c686aa6a71
commit 0243b19d7c
  1. 1631
      striker-ui/package-lock.json
  2. 5
      striker-ui/package.json
  3. 2
      striker-ui/pages/index.tsx
  4. 3
      striker-ui/theme/index.ts

File diff suppressed because it is too large Load Diff

@ -13,13 +13,12 @@
}, },
"dependencies": { "dependencies": {
"@material-ui/core": "^4.11.3", "@material-ui/core": "^4.11.3",
"fontsource-roboto": "^4.0.0",
"next": "10.0.6", "next": "10.0.6",
"react": "17.0.1", "react": "17.0.1",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"styled-components": "^5.2.1",
"swr": "^0.4.2", "swr": "^0.4.2",
"typeface-muli": "^1.1.13" "typeface-roboto": "^1.1.13",
"typeface-roboto-condensed": "^1.1.13"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^11.0.0", "@commitlint/cli": "^11.0.0",

@ -8,7 +8,7 @@ import SharedStorage from '../components/SharedStorage';
import ReplicatedStorage from '../components/ReplicatedStorage'; import ReplicatedStorage from '../components/ReplicatedStorage';
import Memory from '../components/Memory'; import Memory from '../components/Memory';
import 'fontsource-roboto'; import 'typeface-roboto-condensed';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
grid: { grid: {

@ -19,7 +19,8 @@ const theme: Theme = createMuiTheme({
}, },
}, },
typography: { typography: {
fontFamily: 'Roboto', fontFamily: 'Roboto Condensed',
fontWeightRegular: 200,
fontSize: 14, fontSize: 14,
}, },
overrides: { overrides: {

Loading…
Cancel
Save