Skip to content

Commit

Permalink
perf(fonts): remove extraneous @font-face from global styles (#152)
Browse files Browse the repository at this point in the history
This already happens upon importing each font.
  • Loading branch information
wKovacs64 committed Jun 12, 2020
1 parent e02b14f commit fc78ca9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ const Layout: React.FunctionComponent = ({ children }) => {
>
<Global
styles={css`
@font-face {
font-family: 'Nunito';
src: local('Nunito');
}
@font-face {
font-family: 'Source Sans Pro';
src: local('Source Sans Pro');
}
body {
font-family: 'Source Sans Pro', -apple-system,
BlinkMacSystemFont, 'avenir next', avenir, 'helvetica neue',
Expand Down

0 comments on commit fc78ca9

Please sign in to comment.