# @sinoui/theme

> sinoui 主题定制库。

Latest version **1.0.0** (published 2021-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sinoui/theme
pnpm add @sinoui/theme
yarn add @sinoui/theme
bun add @sinoui/theme
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-08-16 |
| First published | 2019-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 128.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | jackingliu, tianyanqiu, chenaihua, maitian0222 |

## Links

- npm: https://www.npmjs.com/package/@sinoui/theme
- Repository: https://github.com/sinoui/theme
- Homepage: https://sinoui.github.io/theme
- Issues: https://github.com/sinoui/theme/issues
- npm.io page: https://npm.io/package/@sinoui/theme

## Dependencies (5)

- [warning](https://npm.io/package/warning.md) ^4.0.3
- [polished](https://npm.io/package/polished.md) ^3.4.4
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.2.2
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.6.3
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.6.0

## Recent versions

- 1.0.0 (latest) — 2021-08-16
- 1.0.0-beta.7 (beta) — 2020-03-05
- 1.0.0-beta.8 — 2020-03-18
- 1.0.0-beta.6 — 2020-02-28
- 1.0.0-beta.5 — 2020-02-25
- 1.0.0-beta.4 — 2020-02-25
- 1.0.0-beta.3 — 2020-02-25
- 1.0.0-beta.2 — 2020-02-24
- 1.0.0-beta.1 — 2020-02-24
- 1.0.0-beat.0 — 2020-02-24
- 1.0.0-beta.0 — 2020-02-24
- 0.3.5 — 2019-12-19
- 0.3.4 — 2019-12-19
- 0.3.3 — 2019-10-22
- 0.3.2 — 2019-10-22
- … 2 more at https://npm.io/package/@sinoui/theme/versions

## README

# @sinoui/theme [![npm version](https://img.shields.io/npm/v/@sinoui/theme)](https://www.npmjs.com/package/@sinoui/theme) [![downloads](https://img.shields.io/npm/dm/@sinoui/theme)](https://www.npmjs.com/package/@sinoui/theme)

用来创建 sinoui 的主题对象的库。[文档](https://sinoui.github.io/theme/)

## 安装

```shell
yarn add @sinoui/theme
```

## 本地开发

项目中有以下有用的命令。

### `yarn start`

在开发和监听模式下启动项目。当代码发生变化时就会重新编译代码。它同时会实时地向你汇报项目中的代码错误。

### `yarn build`

打包，并将打包文件放在`dist`文件夹中。使用 rollup 对代码做优化并打包成多种格式（`Common JS`，`UMD`和`ES Module`）。

### `yarn lint`

`yarn lint`会检查整个项目是否有代码错误、风格错误。

开启 vscode 的 eslint、prettier 插件，在使用 vscode 编码时，就会自动修正风格错误、提示语法错误。

### `yarn format`

`yarn format`可以自动调整整个项目的代码风格问题。

### `yarn test`

`yarn test`以监听模式启动 jest，运行单元测试。

开启 vscode 的 jest 插件，会在文件变化时自动运行单元测试。

### 预览文档

```shell
yarn doc:dev
```

### 编译并打包文档

```shell
yarn doc:publish
```

### 发布文档

在发布文档之前，在`package.json`中配置好`homepage`，如下所示：

```json
{
  "homepage": "https://sinouiincubator.github.io/editable-data-table"
}
```

配置完之后就可以执行下面的命令行发布文档：

```shell
yarn doc:publish
```

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