Customizing theme does not take effect #28916
Unanswered
philmetzger
asked this question in
Q&A
Replies: 2 comments 1 reply
-
If you want to customize theme, please follow this documentation |
Beta Was this translation helpful? Give feedback.
1 reply
-
Solved by changing to the import: And for reference here is my next.config.js:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the ant design system in my NextJS app and configured
next.config.js
like this:In my
antd-custom.css
i have the following:Then I import components like this:
import Button from 'antd/lib/button';
Now when I load my app I do not see any of these style changes.
Within _app.js I do import
import 'antd/dist/antd.min.css';
. Is there a different file to import with the applied style changes? if so where?Otherwise I am not sure what to do
Beta Was this translation helpful? Give feedback.
All reactions