Skip to content

Commit

Permalink
Change font to Lato (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia committed Apr 8, 2020
1 parent 9566f6e commit b1df170
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion portal-ui/public/index.html
Expand Up @@ -12,7 +12,7 @@
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link href="https://fonts.googleapis.com/css?family=Questrial&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="%PUBLIC_URL%/favicon-96x96.png">
Expand Down
4 changes: 1 addition & 3 deletions portal-ui/src/index.css
@@ -1,8 +1,6 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-family: 'Lato', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
14 changes: 7 additions & 7 deletions portal-ui/src/theme/main.ts
Expand Up @@ -35,30 +35,30 @@ const theme = createMuiTheme({
}
},
typography: {
fontFamily: ["Questrial", "sans-serif"].join(','),
fontFamily: ["Lato", "sans-serif"].join(","),
h1: {
fontWeight: "bold",
color:"#201763"
color: "#201763"
},
h2: {
fontWeight: "bold",
color:"#201763"
color: "#201763"
},
h3: {
fontWeight: "bold",
color:"#201763"
color: "#201763"
},
h4: {
fontWeight: "bold",
color:"#201763"
color: "#201763"
},
h5: {
fontWeight: "bold",
color:"#201763"
color: "#201763"
},
h6: {
fontWeight: "bold",
color:"#000000"
color: "#000000"
}
}
});
Expand Down

0 comments on commit b1df170

Please sign in to comment.