Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit d413a6e

Browse files
Add Montserrat Font (#57)
* Add Montserrat font family * font changes and fix some margins * rebased branch and removed roboto
1 parent 933fc4b commit d413a6e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

public/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,9 @@
1010
/>
1111
<meta name="theme-color" content="#000000" />
1212
<link rel="manifest" crossorigin="use-credentials" href="%PUBLIC_URL%/manifest.json" />
13-
<link
14-
href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto+Slab|Roboto:300,400,500,700"
15-
rel="stylesheet"
16-
/>
17-
<link
18-
href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap"
19-
rel="stylesheet"
20-
>
13+
<link
14+
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"
15+
rel="stylesheet">
2116
<title>Code for Cause</title>
2217
<meta
2318
name="description"

src/layouts/MainLayout/TopBar/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ const useStyles = makeStyles(theme => ({
3333
}
3434
},
3535
toolbar: {
36-
minHeight: 64
36+
minHeight: 64,
37+
maxHeight: 64
3738
},
3839
menuButton: {
3940
float: 'right',

src/theme/typography.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
export default {
2+
fontFamily: [
3+
'"Montserrat"',
4+
].join(','),
5+
26
h1: {
37
fontWeight: 500,
48
fontSize: 35,
5-
letterSpacing: '-0.24px'
9+
letterSpacing: '-0.24px',
610
},
711
h2: {
812
fontWeight: 500,
@@ -20,12 +24,12 @@ export default {
2024
letterSpacing: '-0.06px'
2125
},
2226
h5: {
23-
fontWeight: 500,
27+
fontWeight: 600,
2428
fontSize: 16,
2529
letterSpacing: '-0.05px'
2630
},
2731
h6: {
28-
fontWeight: 500,
32+
fontWeight: 600,
2933
fontSize: 14,
3034
letterSpacing: '-0.05px'
3135
},

0 commit comments

Comments
 (0)