Next.js Discord

Discord Forum

I set up Next with Tailwind, is everything meant to be unstyled by default?

Answered
Maine Coon posted this in #help-forum
Open in Discord
Maine CoonOP
For example, even buttons are not buttony (i.e. blends in 100% with the background)

I don't know if it's meant to be like this or a problem. I checked my globals.css and nothing overriding there.

3 Replies

Asian black bear
Answer
Maine CoonOP
I saw that but thought it may be too drastic to make things like buttons invisible on the page 😬
Roseate Spoonbill
Unfortunately without resetting styles it's hard to unify how things look across multiple browsers as each browser has its own flavor. Easiest way to go around it is to install typography-plugin which adds basic stylings for common elements.

However, whenever you use external components with their own styles, it's up to you to resolve conflicts between tailwind preflight and the library.