Closed azulkipli closed 5 years ago
Hi, your configuration looks fine to me. To see the customized theme, you will need to start using some of the Ant Design components. Right now you are just using the default React app component, and this is not affected by the Ant Design theme. (It's just a plain component generated by create-react-app
.)
Hope that helps!
Oh sorry, I just saw that you are using an Ant Design button. The button is actually not affected by the @primary-color
variable.
You need to set @btn-primary-color
- https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less#L125-L159
Hi, I need help. Why customize theme not work as expected? Am I missing some configuration? I have configured craco.config.js as seen as below
and my package.json