0.0.4 • Published 5 years ago

@electerm/antd-dark-theme v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

antd-dark-theme

antd dark theme config. It is used in webpack less loader for antd user. Visit antd docs for more detail.

Use

npm i -D @electerm/antd-dark-theme
// for webpack config
const theme = require('@electerm/antd-dark-theme')
...
  module: {
    rules: [
      {
        test: /\.less$/,
        use: [
          {
            loader: MiniCssExtractPlugin.loader,
            options: {
              // you can specify a publicPath here
              // by default it use publicPath in webpackOptions.output
              publicPath: '../'
            }
          },
          {
            loader: 'css-loader'
          },
          {
            loader: 'less-loader',
            options: {
              javascriptEnabled: true,
              modifyVars: theme
            }
          }
        ]
      },

Realworld Uses

License

MIT

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago