DocSpring / craco-antd

A craco plugin to use Ant Design with create-react-app
MIT License
234 stars 49 forks source link

Enable dark theme #47

Open vJaun opened 3 years ago

vJaun commented 3 years ago

How can I enable dark theme through using craco?

Rugz007 commented 3 years ago

I don't think you need craco for this.

If your project uses CSS, Add this in your CSS @import '~antd/dist/antd.dark.css';

If you are using Less, use this @import '~antd/dist/antd.dark.less';