Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 400 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 400 Bytes

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