open-index/open-npm huggingface dataset:
npm package: @spark-ai/icons
Description: React icons components for spark design icons based on ant design icons
Latest version: 6.0.0-beta.1

## Introduction

React icons components for spark design icons based on ant design icons

## Install

```bash
yarn add @spark-ai/icons
```

## Basic Usage

You can import it directly or destructure from `@ant-design/icons` when tree-shaking enabled.

```ts
import SmileOutlined from '@ant-design/icons/SmileOutlined';
import { SmileOutlined } from '@ant-design/icons';

import SmileFilled from '@ant-design/icons/SmileFilled';
import SmileTwoTone from '@ant-design/icons/SmileTwoTone';
import { SmileFilled, SmileTwoTone } from '@ant-design/icons';
```

## Component Interface

```ts
interface AntdIconProps {
  className?: string;
  onClick?: React.MouseEventHandler<SVGSVGElement>;
  style?: React.CSSProperties;
}
```

## Release

```bash
npm run generate
npm run compile
npm publish
```

## Beware
Must use tnpm i --legacy-peer-deps to install node_modules
npm package: @spark-build/lint
Description: a collection of configuration files containing prettier, eslint, stylelint by umi fabric
Author: atzcl0310@gmail.com
Latest version: 0.0.18

# lint
对 [umi-fabric](https://github.com/umijs/fabric) 的一个补充包装，包含 prettier，eslint，stylelint 的配置文件合集

[![](https://img.shields.io/dub/l/vibe-d.svg?style=flat-square)](https://tldrlegal.com/license/mit-license)


## 安装

```bash
$ yarn add @spark-build/lint --registry=https://registry.npm.taobao.org
```

## 使用方式
一键创建 prettier，eslint，stylelint 配置文件
```bash
yarn create-lint-config
```

`.eslintrc.js`

```js
module.exports = require('@spark-build/lint').default.defineESLint({
  // 对 eslint 的相关配置进行合并、覆盖
  globals: {
    // ....
  },
});
```

`.prettierrc.js`

```js

module.exports = require('@spark-build/lint').default.definePrettier();

```

`.stylelintrc.js`

```js
module.exports = require('@spark-build/lint').default.defineStyleLint({
  // 对 styleLint 的相关配置进行合并、覆盖
  ignoreFiles: [
    //...
  ],
});
```

在 `taro next` 中的 `.eslintrc.js`
```js
module.exports = require('@spark-build/lint').default.defineESLint({
  // 对 eslint 的相关配置进行合并、覆盖
  parser: '@typescript-eslint/parser',
  extends: ['taro/react'],
  rules: {
    'jsx-quotes': 'off',
  },
});
```


## 开源协议

[MIT](https://tldrlegal.com/license/mit-license)
npm package: @spark-build/transform-antd-theme-variable
Description: 将 antd 的变量转化为 css variable，以实现无 runtime 的实时动态主题切换
Author: atzcl0310@gmail.com
Latest version: 0.0.5

# transform-antd-theme-variable

利用 postcss，将 antd 的变量转化为 css variable，以实现无 runtime 的实时动态主题切换

## Installation

```bash
yarn add -D @spark-build/transform-antd-theme-variable
```

## Usage

使用 `transform-antd-theme-variable` 命令进行覆盖

```bash
yarn transform-antd-theme-variable
```

使用 `generateThemeVariable` 命令生成可配置的主题色汇总文件
```bash
yarn generateThemeVariable

// export const variables = {
//   '--primary-color': '#1890ff',
//   '--primary-color-fade': 'rgba(24, 144, 255, 0.04)',
//   '--primary-active-color': '#ffffff',
//   '--primary-hover-color': '#ffffff',
//   '--primary-color-lighten-20': '#7ec1ff',
//   '--primary-color-lighten-35': '#cbe6ff',
//   '--link-hover-color': '#40a9ff',
//   '--link-active-color': '#096dd9',
//   '--table-selected-row-bg--darken-2': '#003465',
//   '--primary-color--lighten-20': '#7ec1ff',
//   '--primary-color--lighten-35': '#cbe6ff',
//   '--primary-color--fade-12': 'rgba(24, 144, 255, 0.12)',
//   '--primary-1': '#e6f7ff',
//   '--primary-2': '#bae7ff',
//   '--primary-3': '#91d5ff',
//   '--primary-4': '#69c0ff',
//   '--primary-5': '#40a9ff',
//   '--primary-6': '#1890ff',
//   '--primary-7': '#096dd9',
//   '--primary-8': '#0050b3',
//   '--primary-9': '#003a8c',
//   '--primary-10': '#002766',
// };
```

#### 示例

```bash
git clone https://github.com/spark-build/transform-antd-theme-variable.git && cd transform-antd-theme-variable && yarn && yarn build && cd example && yarn && yarn generateVariable && yarn dev
```
npm package: @spark-build/web-utils
Description: 基础工具库
Author: atzcl0310@gmail.com
Latest version: 0.0.7

# web-utils
web 端的工具方法合集

[![](https://img.shields.io/dub/l/vibe-d.svg?style=flat-square)](https://tldrlegal.com/license/mit-license)


## 安装

```bash
$ yarn add @spark-build/web-utils --registry=https://registry.npm.taobao.org
```

## 开源协议

[MIT](https://tldrlegal.com/license/mit-license)