tailwindlabs / tailwindcss.com

The Tailwind CSS documentation website.
https://tailwindcss.com
3.25k stars 1.72k forks source link

Adding a custom font #1788

Closed seb-jean closed 6 months ago

seb-jean commented 6 months ago

I find that the way to add a font is not complete. I have been to this page (https://tailwindcss.com/docs/font-family) but I think it is missing how to import a fonts.css file.

What do you think ? :)

adamwathan commented 6 months ago

Thanks for the feedback, added a short section about it here to make sure people don't think Tailwind magically sets up your custom font files for you or anything:

https://github.com/tailwindlabs/tailwindcss.com/commit/b3f7d95e3414a33dcd823928bfc5df8d9c30febc

seb-jean commented 6 months ago

Thanks Adam :)