Skip to content

Commit b1df170

Browse files
authored
Change font to Lato (#48)
1 parent 9566f6e commit b1df170

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

portal-ui/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
manifest.json provides metadata used when your web app is installed on a
1313
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1414
-->
15-
<link href="https://fonts.googleapis.com/css?family=Questrial&display=swap" rel="stylesheet">
15+
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap" rel="stylesheet">
1616
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-icon-180x180.png">
1717
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
1818
<link rel="icon" type="image/png" sizes="96x96" href="%PUBLIC_URL%/favicon-96x96.png">

portal-ui/src/index.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
body {
22
margin: 0;
3-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5-
sans-serif;
3+
font-family: 'Lato', sans-serif;
64
-webkit-font-smoothing: antialiased;
75
-moz-osx-font-smoothing: grayscale;
86
}

portal-ui/src/theme/main.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ const theme = createMuiTheme({
3535
}
3636
},
3737
typography: {
38-
fontFamily: ["Questrial", "sans-serif"].join(','),
38+
fontFamily: ["Lato", "sans-serif"].join(","),
3939
h1: {
4040
fontWeight: "bold",
41-
color:"#201763"
41+
color: "#201763"
4242
},
4343
h2: {
4444
fontWeight: "bold",
45-
color:"#201763"
45+
color: "#201763"
4646
},
4747
h3: {
4848
fontWeight: "bold",
49-
color:"#201763"
49+
color: "#201763"
5050
},
5151
h4: {
5252
fontWeight: "bold",
53-
color:"#201763"
53+
color: "#201763"
5454
},
5555
h5: {
5656
fontWeight: "bold",
57-
color:"#201763"
57+
color: "#201763"
5858
},
5959
h6: {
6060
fontWeight: "bold",
61-
color:"#000000"
61+
color: "#000000"
6262
}
6363
}
6464
});

0 commit comments

Comments
 (0)