Skip to content

Commit

Permalink
add fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely committed Oct 18, 2023
1 parent 66cc8a1 commit 06c8066
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions knapsack/demo-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ if (
const DemoWrapper = ({ children }: { children: React.ReactElement }) => {
return (
<SaltProvider mode={mode} density={density}>
<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=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=PT+Mono&display=swap"
rel="stylesheet"
/>
<div className="demo-wrapper">{children}</div>
</SaltProvider>
);
Expand Down

0 comments on commit 06c8066

Please sign in to comment.