Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@
/>
<meta name="theme-color" content="#000000" />
<link rel="manifest" crossorigin="use-credentials" href="%PUBLIC_URL%/manifest.json" />
<link
href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto+Slab|Roboto:300,400,500,700"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap"
rel="stylesheet"
>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500&display=swap"
rel="stylesheet">
<title>Code for Cause</title>
<meta
name="description"
Expand Down
3 changes: 2 additions & 1 deletion src/layouts/MainLayout/TopBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const useStyles = makeStyles(theme => ({
}
},
toolbar: {
minHeight: 64
minHeight: 64,
maxHeight: 64
},
menuButton: {
float: 'right',
Expand Down
10 changes: 7 additions & 3 deletions src/theme/typography.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
export default {
fontFamily: [
'"Montserrat"',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just keep Montserrat and remove others

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the Monteserrat font is not fetched somehow, than It will show the very basic Aerial(I guess). So atleast two fonts are required I think.
Else it's your choice. I would remove the rest.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

].join(','),

h1: {
fontWeight: 500,
fontSize: 35,
letterSpacing: '-0.24px'
letterSpacing: '-0.24px',
},
h2: {
fontWeight: 500,
Expand All @@ -20,12 +24,12 @@ export default {
letterSpacing: '-0.06px'
},
h5: {
fontWeight: 500,
fontWeight: 600,
fontSize: 16,
letterSpacing: '-0.05px'
},
h6: {
fontWeight: 500,
fontWeight: 600,
fontSize: 14,
letterSpacing: '-0.05px'
},
Expand Down