Home

Awesome

<h1 align="center">Ant Design Theme for Aliyun</h1> <div align="center">

Travis npm package NPM downloads

Ant Design theme variables for Aliyun console design.

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

<span>Visit <a href="https://theme.antd.group/aliyun" target="_blank">https://theme.antd.group/aliyun</a> to preview.</span>

</div>

Install

$ npm install @ant-design/aliyun-theme

Usage

webpack

import aliyunTheme from '@ant-design/aliyun-theme';

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

umi

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

import aliyunTheme from '@ant-design/aliyun-theme';

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

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

less

@import "~@ant-design/aliyun-theme/index.less";