Changed default TailwindCSS font-family, but it isn't updating in localhost
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
I just created a NextJS project and have been getting things configured. I changed the tailwind.config.ts file as shown in the attached screenshot. When I save the file with the updated defaults, nothing changes on localhost and it still renders Arial...any ideas?
4 Replies
@Asiatic Lion I just created a NextJS project and have been getting things configured. I changed the tailwind.config.ts file as shown in the attached screenshot. When I save the file with the updated defaults, nothing changes on localhost and it still renders Arial...any ideas?
you need to add
font-body
class to your app, typically the html
tag or the body
tagAsiatic LionOP
any idea why everything suddenly turned to this?
that's meant to be a tailwind banner component pulled directly from tailwind's components page
adding a font family class to an html element is not supposed to change the entire page structure so... no, i don't have any idea