tailwind-preset-antd 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en-US.md CHANGED
@@ -1,6 +1,6 @@
1
1
  Use antd design token like using tailwindcss.
2
2
 
3
- Recommended to use antd v6 and tailwindcss v4, but also supports antd>=v5.12 (depends on antd cssVar variables) and tailwindcss v3.
3
+ Recommended to use antd v6 and tailwindcss v4, but also supports antd v5 and tailwindcss v3.
4
4
 
5
5
  [简体中文](./README.md) | English
6
6
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  像使用 tailwindcss 一样使用 antd design token。
2
2
 
3
- 推荐使用 antd v6 和 tailwindcss v4,但同样支持 antd>=v5.12(依赖 antd cssVar 变量) 和 tailwindcss v3。
3
+ 推荐使用 antd v6 和 tailwindcss v4,但同样支持 antd v5 和 tailwindcss v3。
4
4
 
5
5
  [English](./README.en-US.md) | 简体中文
6
6
 
package/dist/plugin.d.ts CHANGED
@@ -18,7 +18,7 @@ interface PluginWithOptions<T> {
18
18
  __isOptionsFunction: true;
19
19
  }
20
20
  /**
21
- * @description Based on Antd Design Token to customize TailwindCSS styles, related extensions include `color`, `borderRadius`, `fontSize`, and `margin(gap)`.
21
+ * @description Based on Antd Design Token to customize TailwindCSS styles, related extensions include `color`, `borderRadius`, `fontSize`, `margin(gap)` and `boxShadow`.
22
22
  * @example `bg-colorPrimary` --> `backgroundColor: token.colorPrimary`;
23
23
  * @see https://ant.design/docs/react/customize-theme-cn#maptoken
24
24
  * @see https://github.com/tailwindlabs/tailwindcss/discussions/13292#discussioncomment-14256365
package/dist/plugin.js CHANGED
@@ -3,7 +3,7 @@ import { createBorderRadius, createBoxShadow, createColorPalettes, createFontSiz
3
3
  import plugin from "tailwindcss/plugin";
4
4
  //#region src/plugin.ts
5
5
  /**
6
- * @description Based on Antd Design Token to customize TailwindCSS styles, related extensions include `color`, `borderRadius`, `fontSize`, and `margin(gap)`.
6
+ * @description Based on Antd Design Token to customize TailwindCSS styles, related extensions include `color`, `borderRadius`, `fontSize`, `margin(gap)` and `boxShadow`.
7
7
  * @example `bg-colorPrimary` --> `backgroundColor: token.colorPrimary`;
8
8
  * @see https://ant.design/docs/react/customize-theme-cn#maptoken
9
9
  * @see https://github.com/tailwindlabs/tailwindcss/discussions/13292#discussioncomment-14256365
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwind-preset-antd",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Use antd design token like using tailwindcss",
5
5
  "keywords": [
6
6
  "antd",