Skip to content

Commit

Permalink
Set Inter font as the main one
Browse files Browse the repository at this point in the history
  • Loading branch information
serjonya-trili committed Mar 11, 2024
1 parent 1cef569 commit 0006bc1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<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=Inter:[email protected]&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="%PUBLIC_URL%/icon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
Expand Down
3 changes: 1 addition & 2 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
body {
font-family: "Inter";
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
3 changes: 3 additions & 0 deletions src/style/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ const theme = extendTheme({
Text: {
baseStyle: {
fontWeight: "400",
fontFamily: "Inter",
},
sizes,
},
Heading: {
baseStyle: {
fontWeight: "600",
fontFamily: "Inter",
},
sizes,
},
Expand Down Expand Up @@ -112,6 +114,7 @@ const theme = extendTheme({
body: {
bg: colors.black,
color: colors.white,
fontFamily: "Inter",
},
},
},
Expand Down

1 comment on commit 0006bc1

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 84.53% 2940/3478
🟡 Branches 78.07% 993/1272
🟢 Functions 82.39% 898/1090
🟢 Lines 84.29% 2779/3297

Test suite run success

1182 tests passing in 162 suites.

Report generated by 🧪jest coverage report action from 0006bc1

Please sign in to comment.