Home

Awesome

<h1 align="center">🌚 Ant Design Dark Theme 🌚</h1> <div align="center">

Travis npm package NPM downloads

Dependencies DevDependencies

Dark theme variables of Ant Design.

Still being experimental, welcome to try out and help us to improve it.

<span>Visit <a href="https://antdtheme.com/dark" target="_blank">https://antdtheme.com/dark</a> to preview.</span>

</div>

Install

$ npm install @ant-design/dark-theme

Usage

import darkTheme from '@ant-design/dark-theme';

// webpack.config.js: less-loader
{
  loader: 'less-loader',
  options: {
    modifyVars: darkTheme,
  },
},

Use in Ant Design Pro: https://github.com/ant-design/ant-design-pro/pull/2946/