# umi-plugin-antd-theme

Latest version **2.1.3** (published 2021-11-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install umi-plugin-antd-theme
pnpm add umi-plugin-antd-theme
yarn add umi-plugin-antd-theme
bun add umi-plugin-antd-theme
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2021-11-16 |
| First published | 2019-09-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 85 |
| Maintainers | chenshuai2144 |

## Links

- npm: https://www.npmjs.com/package/umi-plugin-antd-theme
- Repository: https://github.com/chenshuai2144/umi-plugin-ant-theme
- Homepage: https://github.com/chenshuai2144/umi-plugin-ant-theme#readme
- Issues: https://github.com/chenshuai2144/umi-plugin-ant-theme/issues
- npm.io page: https://npm.io/package/umi-plugin-antd-theme

## Dependencies (4)

- [rimraf](https://npm.io/package/rimraf.md) ^3.0.0
- [slash2](https://npm.io/package/slash2.md) ^2.0.0
- [serve-static](https://npm.io/package/serve-static.md) ^1.14.1
- [antd-pro-merge-less](https://npm.io/package/antd-pro-merge-less.md) ^3.0.0

## Recent versions

- 2.1.3 (latest) — 2021-11-16
- 2.0.0-0 (next) — 2020-02-26
- 2.1.2 — 2020-04-06
- 2.1.1 — 2020-03-12
- 2.1.0 — 2020-03-10
- 1.2.0-0 — 2020-03-01
- 2.1.0-0 — 2020-03-01
- 1.1.0-0 — 2020-02-20
- 1.0.15 — 2019-11-27
- 1.0.14 — 2019-11-26
- 1.0.13 — 2019-11-23
- 1.0.12 — 2019-11-23
- 1.0.11 — 2019-11-22
- 1.0.10 — 2019-11-22
- 1.0.9 — 2019-11-21
- … 9 more at https://npm.io/package/umi-plugin-antd-theme/versions

## README

<!-- @format -->

# umi-plugin-antd-theme

[![NPM version](https://img.shields.io/npm/v/umi-plugin-antd-theme.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-theme) [![NPM downloads](http://img.shields.io/npm/dm/umi-plugin-antd-theme.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-theme)

## Usage

Configure in `config/theme.config.json`,

```json
{
  "theme": [
    {
      "theme": "dark",
      "fileName": "dark.css"
    },
    {
      "fileName": "mingQing.css",
      "modifyVars": {
        "@primary-color": "#13C2C2"
      }
    }
  ],
  // 是否压缩css
  "min": true,
  // css module
  "isModule": true,
  // 忽略 antd 的依赖
  "ignoreAntd": false,
  // 忽略 pro-layout
  "ignoreProLayout": false,
  // 不使用缓存
  "cache": true
}
```

you can get config in `window.umi_plugin_ant_themeVar`

## LICENSE

MIT

---
_Source: https://npm.io/package/umi-plugin-antd-theme · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
