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 +1 -1
- package/README.md +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
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
|
|
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
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`,
|
|
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`,
|
|
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
|