Skip to content

Commit

Permalink
Use Inter
Browse files Browse the repository at this point in the history
  • Loading branch information
colebemis committed Aug 20, 2023
1 parent 72e279a commit f4207f9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"@astrojs/react": "^2.3.2",
"@astrojs/tailwind": "^4.0.0",
"@fontsource-variable/inter": "^5.0.8",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"astro": "^2.10.12",
Expand Down
4 changes: 4 additions & 0 deletions docs/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
}
}

body {
font-family: 'Inter Variable', sans-serif;
}

.px-grid {
--grid-color: var(--color-border);
--grid-size: calc(100% / 24);
Expand Down
1 change: 1 addition & 0 deletions docs/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import '@fontsource-variable/inter';
import '../index.css';
import { App } from '../components/app';
---
Expand Down

0 comments on commit f4207f9

Please sign in to comment.