1.0.0 • Published 3 years ago

@njshaoshao/we-theme v1.0.0

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

Ant Design theme variables for WE-Design.

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

Install

$ npm install @njshaoshao/we-theme

Usage

webpack

import weTheme from '@njshaoshao/we-theme';

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

umi

https://umijs.org/config/#theme

import weTheme from '@njshaoshao/we-theme';

// config.js or .umirc.js
export default {
  "theme": weTheme,
}

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

less

@import "~@njshaoshao/we-theme/index.less";
1.0.0

3 years ago

0.0.1

3 years ago