Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fonts not working #7

Closed
Redoxahmii opened this issue Oct 23, 2023 · 1 comment
Closed

Fonts not working #7

Redoxahmii opened this issue Oct 23, 2023 · 1 comment

Comments

@Redoxahmii
Copy link

i am fairly new to this so changing the fonts inside fonts.ts is not really changing the fonts for my environment
i have tried to set it directly inside the layout.tsx directly but it still does not work that properly.

@wingkwong
Copy link
Member

wingkwong commented May 21, 2024

in tailwind.config.js, you need to extend the fontFamily in tailwind.config.js. e.g.

  theme: {
    extend: {
      fontFamily: {
        sans: ["var(--font-sans)"],
        mono: ["var(--font-geist-mono)"],
      },
    },
  },

@wingkwong wingkwong closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants