Skip to content

Commit

Permalink
[#68] Poppins font replaced by Open Sans
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-kopecky committed Nov 25, 2021
1 parent eeb3e29 commit c837565
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap"
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&display=swap"
rel="stylesheet"
/>
<title>ShowIt</title>
Expand Down
15 changes: 14 additions & 1 deletion src/app/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,20 @@ const theme = createTheme({
// background: { default: 'black' },
},
typography: {
fontFamily: ["Poppins", "sans-serif"].join(","),
fontFamily: [
"-apple-system",
"BlinkMacSystemFont",
'"Open Sans"',
"sans-serif",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
].join(","),
h1: {
fontWeight: 600,
fontSize: 60,
Expand Down
1 change: 0 additions & 1 deletion src/components/VocabularyTermsListWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const useStyles = makeStyles(() => ({
},
text: {
fontSize: "1.25rem",
fontFamily: "Poppins,sans-serif",
fontWeight: 500,
lineHeight: "1.6",
display: "block",
Expand Down

0 comments on commit c837565

Please sign in to comment.