@fire-bird/highway-plugin-antd

0.0.3 • Public • Published

@fire-bird/highway-plugin-antd

antd 插件

About

开启 named import,jest 测试时兼容配置

Usage

在 plugin 中加入配置

{
  plugins: [
    [
      'antd',
      {
        modifyVars: {
          'primary-color': '#1DA57A',
          'brand-primary': '#00bf00', // 全局主色
          'brand-primary-tap': '#52c41a'
        }
      }
    ]
    //...other plugins
  ]
}

Options

目前只开放了 modifyVars 这个参数,用于定制 antd 内部的 less 颜色的基础变量。

Readme

Keywords

none

Package Sidebar

Install

npm i @fire-bird/highway-plugin-antd

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

2.53 kB

Total Files

4

Last publish

Collaborators

  • dq_x