Skip to content

Commit

Permalink
Add Inter font
Browse files Browse the repository at this point in the history
  • Loading branch information
iggy890 committed Mar 3, 2023
1 parent 60b3652 commit 05be927
Show file tree
Hide file tree
Showing 8 changed files with 536 additions and 547 deletions.
4 changes: 2 additions & 2 deletions components/common/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Button = styled.a`
line-height: 1.17648;
font-weight: 400;
letter-spacing: -.022em;
font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
min-width: 28px;
padding-left: 16px;
padding-right: 16px;
Expand All @@ -26,7 +26,7 @@ const Button = styled.a`
line-height: 1.33337;
font-weight: 400;
letter-spacing: -.01em;
font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
min-width: 23px;
padding-left: 11px;
padding-right: 11px;
Expand Down
2 changes: 1 addition & 1 deletion components/common/ColorSchemeToggle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ColorSchemeToggleWrap = styled.div`
line-height: 1.33337;
font-weight: 400;
letter-spacing: -.01em;
font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
border: 1px solid var(--toggle-color-fill);
border-radius: var(--toggle-border-radius-outer, 2px);
display: inline-flex;
Expand Down
2 changes: 1 addition & 1 deletion components/common/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FooterWrap = styled.footer`
line-height: 1.33337;
font-weight: 400;
letter-spacing: -.01em;
font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
overflow: hidden;
position: relative;
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion components/common/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Title = styled.h2`
line-height: 1.14286;
font-weight: 600;
letter-spacing: .011em;
font-family: "SF Pro Display","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
cursor: default;
display: block;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion components/common/Ribbon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const RibbonContent = styled.div`
line-height: 1.42859;
font-weight: 400;
letter-spacing: -.016em;
font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family: "Inter","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
`;

function Ribbon({ children, onClick, ...props }) {
Expand Down
10 changes: 5 additions & 5 deletions components/common/Tile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ const TileHeadline = styled(Typography).attrs({ as: "h4" })`
line-height: 1.1904761905;
font-weight: 600;
letter-spacing: .011em;
font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
font-family: Inter,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
${({ overlay }) => overlay ? `` : `color: var(--section-accent-color);`}
`;
const TileCopy = styled(Typography)`
font-size: 19px;
line-height: 1.4211026316;
font-weight: 600;
letter-spacing: .012em;
font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
font-family: Inter,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
${TileHeadline} + & {
margin-top: 0.3em;
}
Expand All @@ -76,7 +76,7 @@ const TileViolator = styled.div`
line-height: 1.1764805882;
font-weight: 400;
letter-spacing: -0.022em;
font-family: SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
font-family: Inter,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
border-radius: 18px;
padding: 7px 18px;
Expand All @@ -85,7 +85,7 @@ const TileViolator = styled.div`
line-height: 1.3333733333;
font-weight: 400;
letter-spacing: -0.01em;
font-family: SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
font-family: Inter,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
border-radius: 12px;
padding: 3px 11px;
Expand Down Expand Up @@ -209,7 +209,7 @@ const OverlayCopy = styled.div`
line-height: 1.4211026316;
font-weight: 600;
letter-spacing: .012em;
font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
font-family: Inter,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ body {
width: 100%;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Inter, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

Expand Down
1,059 changes: 524 additions & 535 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 05be927

Please sign in to comment.