-
Notifications
You must be signed in to change notification settings - Fork 5
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
Hacks to change ant.design theme #30
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/cesiuminho/shuriken/QKszQoV4Uf7B7YYqVqokgSupTpYf |
It requires so few changes that I think it's worth it. We can revert if we change our minds in the future. Maybe it will be even cleaner if Next.js gets LESS support again like this PR is proposing. |
I fixed the things you pointed out @nelsonmestevao. I also added the warning to the README and customized the border radius of Ant, in order to be a bit more in harmony with the Tailwind styling. I think its ready for merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! 💪 Really liked the readme warning 😅
Well.... Pretty much the only way I think it can be done without messing with deprecated plugins and disabling Next's built-in CSS support...
This solution is not very maintainable, but with a very obvious warning in the README I guess it could work for a while: it also has less chances of breaking current stuff and future stuff than messing around with Webpack in
next.config.js
Let me know if it's worth it to pull this. If it is I'll add the warning to the README before merging