umi-plugin-theme

0.0.2 • Public • Published

umi-plugin-theme

Install

# or yarn
$ npm install umi-plugin-theme -D

Usage

Configure theme.config.ts in config dir.

eg.

// theme.config.ts
export default {
  theme: [
    {
      stylePath: require.resolve('antd/lib/style/themes/dark.less'), // your theme file path.
      fileName: 'dark.css', // the generated css file name.
    }
  ]
}

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i umi-plugin-theme

Weekly Downloads

1

Version

0.0.2

License

none

Unpacked Size

5.59 kB

Total Files

4

Last publish

Collaborators

  • imhxc