Skip to content

Commit

Permalink
Switch to Switzer font
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaivre committed May 18, 2023
1 parent e72dcf8 commit 49541fa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import styled from 'styled-components'
import { deviceBreakPoints } from '../../../styles/global-style'
import sunriseSrc from '../../../images/sunrise-in-ch.jpg'
import AmbassadorsSectionContainer from './AmbassadorsSectionContainer'
import Columns from '../../Columns/Columns'
import Column from '../../Columns/Column'

export type AmbassadorsLandingSectionContentType = {
tagline: string
Expand Down
Binary file added src/fonts/Switzer-Variable.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pages/ambassadors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Wrapper = styled.div`
}
font-size: 18px; // Slighty increase base font size for marketing content
line-height: 24px;
font-family: 'Helvetica Now', 'Helvetica Neue', 'Inter'; // Trial.
font-family: 'Switzer', 'Helvetica Neue', 'Inter'; // Trial.
background-color: ${({ theme }) => theme.bgPrimary};
a {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/hackathon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const NavigationMenuStyled = styled(NavigationMenu)`
`

const Wrapper = styled.div`
font-family: 'Helvetica Now', 'Helvetica Neue', 'Inter'; // Trial.
font-family: 'Switzer', 'Helvetica Neue', 'Inter'; // Trial.
// Some simple specific styles for text focused pages like the hackathon one.
* {
Expand Down
4 changes: 2 additions & 2 deletions src/styles/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
}

@font-face {
font-family: 'Helvetica Now';
font-family: 'Switzer';
font-weight: 100 1000;
src: url('../fonts/Helvetica-Now.woff') format('woff');
src: url('../fonts/Switzer-Variable.ttf') format('truetype');
}

h2,
Expand Down

0 comments on commit 49541fa

Please sign in to comment.