Skip to content

Commit

Permalink
doc: add new font to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tcK1 committed Jan 17, 2024
1 parent a6f2398 commit 566f23a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/doc/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ const plugins = [
resolve: `gatsby-plugin-web-font-loader`,
options: {
google: {
families: ['Rubik:300,400,500,700,900,300i,400i,500i,700i,900i'],
families: [
'Rubik:300,400,500,700,900,300i,400i,500i,700i,900i',
'Inter:300,400,500,700,900,300i,400i,500i,700i,900i',
],
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ const Component = styled.div`
theme: {
yoga: {
colors: { white, text, primary },
baseFont,
},
},
}) => `
font-family: 'Rubik';
font-family: ${baseFont.family};
padding: 50px;
background-color: ${darkMode ? text.primary : white};
transition: all 0.3s ease-in-out;
Expand Down

0 comments on commit 566f23a

Please sign in to comment.