0.0.2 • Published 5 years ago

umi-plugin-theme v0.0.2

Weekly downloads
9
License
-
Repository
-
Last release
5 years ago

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

0.0.2

5 years ago

0.0.1

5 years ago