@lmy54321/design-system 1.3.1 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmy54321/design-system",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "A comprehensive React component library and design system based on Tailwind CSS and Motion.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,3 +1,15 @@
1
+ /*
2
+ * @lmy54321/design-system 全局样式
3
+ *
4
+ * 使用方式:在项目的 index.css 中 @import 此文件即可,无需再单独写 @import "tailwindcss"。
5
+ *
6
+ * 正确写法(index.css):
7
+ * @source "../src";
8
+ * @source "../node_modules/@lmy54321/design-system/dist";
9
+ * @import "@lmy54321/design-system/styles";
10
+ *
11
+ * 注意:@source 必须写在 @import 之前,否则 Tailwind v4 不会扫描对应目录。
12
+ */
1
13
  @import "tailwindcss";
2
14
 
3
15
  @source "../dist";