@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/.codebuddy/rules/init-project.mdc +8 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/globals.css +12 -0
package/package.json
CHANGED
package/styles/globals.css
CHANGED
|
@@ -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";
|