open-index/open-npm huggingface dataset:
npm package: @fishx/fishx-theme-webpack-plugin
Description: A webpack plugin to provide Dynamic Theme for Fishx
Latest version: 1.0.0

# @fishx/fishx-theme-webpack-plugin

This webpack plugin is to  generate color specific less/css and inject into your `index.html` file so 
that you can change Ant Design specific color theme in browser.

In order to integrate with your webpack configurations, install the package and add following code in your webpack config file.

## Install
  - npm install -D @fishx/fishx-theme-webpack-plugin

```js
const AntDesignThemePlugin = require('@fishx/fishx-theme-webpack-plugin');

const options = {
  antDir: path.join(__dirname, './node_modules/antd'),
  stylesDir: path.join(__dirname, './src/styles'),
  varFile: path.join(__dirname, './src/styles/variables.less'),
  mainLessFile: path.join(__dirname, './src/styles/index.less'),
  themeVariables: ['@primary-color'],
  indexFileName: 'index.html',
  generateOnce: false,
  lessUrl: "https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.2/less.min.js",
  publicPath: "",
  customColorRegexArray: [], // An array of regex codes to match your custom color variable values so that code can identify that it's a valid color. Make sure your regex does not adds false positives.
}

const themePlugin = new AntDesignThemePlugin(options);
// in config object
plugins: [
    themePlugin
  ]
```
Add this plugin in `plugins` array.
npm package: @fishx/icons
Description: ```bash $ yarn add @fishx/icons ```
Latest version: 2.0.0

<h1 align="center">Fishx Icons for React</h1>

## Install

```bash
$ yarn add @fishx/icons
```

## Basic Usage

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

```ts
import SmileOutlined from '@fishx/icons/SmileOutlined';
import { SmileOutlined } from '@fishx/icons';

import SmileFilled from '@fishx/icons/SmileFilled';
import SmileTwoTone from '@fishx/icons/SmileTwoTone';
import { SmileFilled, SmileTwoTone } from '@fishx/icons';
```

## Component Interface

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

## Develop

```bash
$ npm run generate
$ npm run start
```

## 文档部署

```bash
$ npm run build:doc
```

## Release

```bash
$ npm publish
```