Skip to content

Commit

Permalink
load font from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Apr 1, 2024
1 parent 5b21762 commit c54da46
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@astrojs/sitemap": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.5.0",
"@fontsource/inter": "^5.0.17",
"@hookform/resolvers": "^3.3.4",
"@iconify-json/lucide": "^1.1.174",
"@iconify-json/mdi": "^1.1.64",
Expand Down
1 change: 1 addition & 0 deletions apps/docs/src/layouts/base-layout.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import "@fontsource/inter";
import BaseHead from "@/components/layout/base-head.astro";
import TailwindIndicator from "@/components/tailwind-indicator.astro";
// NOTE: work with { Toaster } from "@/components/ui/sonner" but need to update dark theme
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
7 changes: 7 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit c54da46

Please sign in to comment.