# @giteeteam/apps-team-theme

> team antd theme

Latest version **0.3.0** (published 2025-08-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @giteeteam/apps-team-theme
pnpm add @giteeteam/apps-team-theme
yarn add @giteeteam/apps-team-theme
bun add @giteeteam/apps-team-theme
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2025-08-04 |
| First published | 2023-06-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | stevencjc, yezhiming, janlay884181317, zhijun714, songqy |
| Keywords | typescript, giteeteam, antd |

## Links

- npm: https://www.npmjs.com/package/@giteeteam/apps-team-theme
- npm.io page: https://npm.io/package/@giteeteam/apps-team-theme

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2025-08-04
- 0.2.0 — 2023-09-27
- 0.1.0 — 2023-06-21

## README

# Team antd V5 Style

## 安装

`yarn add @giteeteam/apps-team-theme -S` or `npm i @giteeteam/apps-team-theme -S`

## 使用
### 编译时

1. 直接使用 themeToken
```js
const { themeToken } = require('@giteeteam/apps-team-theme/lib')
//webpack less-loader 配置
  const lessLoaderOptions = {
    lessOptions: {
      javascriptEnabled: true,
      modifyVars: themeToken,
    },
  };
```
2. 自己生成 token
```js
  const { theme } = require('antd/lib') // antd > 5.6.0
  const { themeConfig } = require('@giteeteam/apps-team-theme/lib')
  const token = getDesignToken(themeConfig);

  //webpack less-loader 配置
  const lessLoaderOptions = {
    lessOptions: {
      javascriptEnabled: true,
      modifyVars: token,
    },
  };
```
3. 自定义生成 token
```js
  const { theme } = require('antd/lib') // antd > 5.6.0
  const { generateToken } = require('@giteeteam/apps-team-theme/lib')
  const token = generateToken(customThemeConfig);

  //webpack less-loader 配置
  const lessLoaderOptions = {
    lessOptions: {
      javascriptEnabled: true,
      modifyVars: token,
    },
  };
```


### 运行时
```jsx
import { themeConfig } from '@giteeteam/apps-team-theme/lib'

<div id="root">
  <ConfigProvider theme={themeConfig}>
    {/* {children}  */}
  </ConfigProvider>
</div>
```

###

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