pea-plugin-antd
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

pea-plugin-antd

Installation

npm i pea-plugin-antd

Usage

import AntdPlugin from 'pea-plugin-antd'

export default {
  plugins: [new AntdPlugin()],
}

Customize Ant Design Theme

to modify the default Ant Design theme:

import AntdPlugin from 'pea-plugin-antd'
import LessPlugin from 'pea-plugin-less'

export default {
  plugins: [
    new LessPlugin({
      modifyVars: {
        'primary-color': 'black',
        'link-color': '#1DA57A',
        'border-radius-base': '10px',
      },
      javascriptEnabled: true,
    }),
    new AntdPlugin({
      style: true,
    }),
  ],
}

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i pea-plugin-antd

Weekly Downloads

1

Version

0.1.1

License

none

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • forsigner