DocSpring / craco-antd

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

Enable dark theme #47

Open vJaun opened 4 years ago

vJaun commented 4 years ago

How can I enable dark theme through using craco?

Rugz007 commented 4 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';