wispcss 0.0.1 → 1.0.4

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.
Files changed (96) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/LICENSE +49 -0
  3. package/README.md +386 -0
  4. package/README.zh-CN.md +385 -0
  5. package/dist/wispcss.css +45823 -0
  6. package/dist/wispcss.min.css +2 -0
  7. package/examples/add-h2-ids.cjs +284 -0
  8. package/examples/demo-actions.html +188 -0
  9. package/examples/demo-alarm.html +219 -0
  10. package/examples/demo-animation.html +399 -0
  11. package/examples/demo-aura.html +195 -0
  12. package/examples/demo-avatar.html +279 -0
  13. package/examples/demo-background.html +284 -0
  14. package/examples/demo-badge.html +398 -0
  15. package/examples/demo-blob.html +307 -0
  16. package/examples/demo-blockquote.html +190 -0
  17. package/examples/demo-bookmark.html +243 -0
  18. package/examples/demo-breadcrumb.html +179 -0
  19. package/examples/demo-btns.html +349 -0
  20. package/examples/demo-bubble.html +215 -0
  21. package/examples/demo-buoy.html +187 -0
  22. package/examples/demo-button-icon.html +231 -0
  23. package/examples/demo-button-link.html +177 -0
  24. package/examples/demo-button.html +361 -0
  25. package/examples/demo-callout.html +601 -0
  26. package/examples/demo-check.html +323 -0
  27. package/examples/demo-code.html +212 -0
  28. package/examples/demo-color.html +545 -0
  29. package/examples/demo-comment.html +510 -0
  30. package/examples/demo-deform.html +229 -0
  31. package/examples/demo-dialog.html +932 -0
  32. package/examples/demo-divider.html +208 -0
  33. package/examples/demo-drawer.html +623 -0
  34. package/examples/demo-dropmenu.html +382 -0
  35. package/examples/demo-droppanel.html +354 -0
  36. package/examples/demo-ellipsis.html +145 -0
  37. package/examples/demo-emphasis.html +146 -0
  38. package/examples/demo-empty.html +112 -0
  39. package/examples/demo-entry.html +219 -0
  40. package/examples/demo-field.html +359 -0
  41. package/examples/demo-file.html +206 -0
  42. package/examples/demo-flag.html +225 -0
  43. package/examples/demo-form.html +201 -0
  44. package/examples/demo-gilt.html +170 -0
  45. package/examples/demo-heading.html +93 -0
  46. package/examples/demo-icon.html +164 -0
  47. package/examples/demo-input.html +300 -0
  48. package/examples/demo-kbd.html +202 -0
  49. package/examples/demo-lamp.html +248 -0
  50. package/examples/demo-link.html +142 -0
  51. package/examples/demo-normalize.html +366 -0
  52. package/examples/demo-otp.html +277 -0
  53. package/examples/demo-pagination.html +562 -0
  54. package/examples/demo-position.html +205 -0
  55. package/examples/demo-poster.html +384 -0
  56. package/examples/demo-pre - /345/211/257/346/234/254.html" +169 -0
  57. package/examples/demo-pre.html +205 -0
  58. package/examples/demo-preset.html +344 -0
  59. package/examples/demo-progress.html +303 -0
  60. package/examples/demo-range.html +211 -0
  61. package/examples/demo-rank.html +270 -0
  62. package/examples/demo-rating.html +251 -0
  63. package/examples/demo-reset.html +105 -0
  64. package/examples/demo-segment.html +436 -0
  65. package/examples/demo-select.html +332 -0
  66. package/examples/demo-shadow.html +152 -0
  67. package/examples/demo-shell.html +377 -0
  68. package/examples/demo-shimmer.html +217 -0
  69. package/examples/demo-size.html +149 -0
  70. package/examples/demo-skeleton.html +143 -0
  71. package/examples/demo-sketch.html +213 -0
  72. package/examples/demo-spacer.html +150 -0
  73. package/examples/demo-spinner.html +220 -0
  74. package/examples/demo-stats.html +165 -0
  75. package/examples/demo-status.html +212 -0
  76. package/examples/demo-step.html +240 -0
  77. package/examples/demo-styles.css +14 -0
  78. package/examples/demo-summary.html +128 -0
  79. package/examples/demo-swatch.html +253 -0
  80. package/examples/demo-switch.html +223 -0
  81. package/examples/demo-table.html +339 -0
  82. package/examples/demo-tag.html +318 -0
  83. package/examples/demo-text.html +91 -0
  84. package/examples/demo-theme.html +167 -0
  85. package/examples/demo-tools.html +152 -0
  86. package/examples/demo-transition.html +169 -0
  87. package/examples/demo-tree.html +929 -0
  88. package/examples/demo-underline.html +76 -0
  89. package/examples/demo-utils.js +131 -0
  90. package/examples/demo-validate.html +120 -0
  91. package/examples/index.html +149 -0
  92. package/package.json +72 -8
  93. package/script-gen-color.js +148 -0
  94. package/script-mini.js +78 -0
  95. package/script-prefix.js +398 -0
  96. package/skill.md +575 -0
@@ -0,0 +1,385 @@
1
+ # WispCSS
2
+
3
+ > [English](./README.md)
4
+
5
+ 基于 Tailwind CSS v4 编译器的纯 CSS 组件与工具库。注释全面,AI 友好支持。无需 JavaScript,即可为 HTML 原生节点提供样式美化,并附带全面的 utility class 用于 UI 布局。
6
+
7
+ 立即查看 **[100个组件演示](https://unpkg.com/wispcss/examples/index.html)** →
8
+
9
+ ---
10
+
11
+ ## 概述
12
+
13
+ WispCSS 作为 Web 项目的底层 CSS 层,位于 Tailwind CSS 之上、应用层样式之下,扮演基础设计系统的角色。它不是 Tailwind 的替代品,而是对 Tailwind 的补充,提供以下内容:
14
+
15
+ - 预样式的 HTML 原生元素(输入框、按钮、表单、表格等)
16
+ - UI 组件库(徽标、标签、面包屑、分页、步骤条、分割线等)
17
+ - 补充 Tailwind 默认不包含的 utility class
18
+ - 基于 OKLCH 色彩空间的完整设计令牌系统
19
+
20
+ 所有组件和工具类均以 Tailwind v4 的 `@utility` 指令编写。经 Tailwind CLI 编译后,未使用的类会被自动移除(tree-shaking)。
21
+
22
+ ---
23
+
24
+ ## AI 友好设计
25
+
26
+ 本项目已充分考虑 AI 引擎的阅读需求。`src/` 目录下的每个 CSS 文件都包含详尽的注释,说明每个组件的结构、变体和用法。这意味着:
27
+
28
+ - **AI 仅需阅读 `src/index.css` 即可完全理解整个项目** — 所有组件、工具类及其关系都在上下文中以注释方式完整记录。
29
+ - **配合阅读 `examples/index.html`** 可进一步提升准确度:示例文件将每个组件映射到可视化演示,为 AI 提供每个组件外观和行为的完整参考。
30
+ - 二者结合,AI 可**快速自动创建准确的演示和使用示例**,无需依赖外部文档。
31
+ - 为了节省token消耗,可以直接让AI阅读`skill.md`文件即可。
32
+
33
+ ---
34
+
35
+ ## 目标用户
36
+
37
+ 只要项目中已集成 **Tailwind CSS**,即可直接使用 WispCSS。
38
+
39
+ ---
40
+
41
+ ## 浏览器兼容性
42
+
43
+ 项目使用了较新的 CSS 特性,需要以下浏览器版本:
44
+
45
+ | 特性 | 最低浏览器支持 |
46
+ | ---------------------- | -------------------------------------------------------- |
47
+ | OKLCH 色彩空间 | Chrome 111+, Safari 15.4+, Firefox 113+(2023 年 3 月) |
48
+ | CSS Nesting(`&`) | Chrome 120+, Safari 17.2+, Firefox 117+(2023 年 12 月) |
49
+ | `:has()` 选择器 | Chrome 105+, Safari 15.4+, Firefox 121+ |
50
+ | `:dir()` 选择器 | Chrome 120+, Safari 16.6+, Firefox 120+(2023 年 12 月) |
51
+ | `:user-invalid` 选择器 | Chrome 119+, Safari 16.5+, Firefox 88+(2023 年 10 月) |
52
+ | `@property` | Chrome 85+, Safari 15.4+, Firefox 128+ |
53
+ | `container-type` | Chrome 105+, Safari 16+, Firefox 110+ |
54
+
55
+ ---
56
+
57
+ ## 安装
58
+
59
+ ### 前置条件
60
+
61
+ - 项目中已安装并配置好 [Tailwind CSS v4](https://tailwindcss.com/docs/installation/)。
62
+
63
+ ### 方式一:手动引入(推荐)
64
+
65
+ 这是推荐的方式。将购买后获得的 `src/` 目录放在项目内任意位置(如 `lib/wispcss/src/`),纳入版本控制,并直接引入。文件始终在您的掌控之下,不会受 `npm install` 影响。
66
+
67
+ 1. 将购买后获得的 `src/` 目录复制到项目中,例如:
68
+
69
+ ```
70
+ your-project/
71
+ └── lib/
72
+ └── wispcss/
73
+ └── src/
74
+ ├── index.css
75
+ ├── button.css
76
+ └── ...
77
+ ```
78
+
79
+ 2. 在项目的 CSS 入口文件中引入:
80
+
81
+ ```css
82
+ /* 示例: app.css */
83
+ @import "./lib/wispcss/src/index.css";
84
+ ```
85
+
86
+ 3. 配置 Tailwind CSS:
87
+
88
+ ```css
89
+ @import "tailwindcss";
90
+ @import "./lib/wispcss/src/index.css";
91
+ ```
92
+
93
+ 4. 运行 Tailwind CLI 进行编译:
94
+
95
+ ```bash
96
+ npx @tailwindcss/cli -i app.css -o dist/output.css
97
+ ```
98
+
99
+ ### 方式二:通过 npm 安装
100
+
101
+ npm 包默认**不包含** `src/` 源文件,因为它们属于商业软件(详见[版权与授权](#版权与授权))。购买授权后,需要将获得的 `src/` 目录放入 `node_modules/@zimeko/wispcss/src/`,才能使用下面的引入方式。
102
+
103
+ 1. 安装依赖包:
104
+
105
+ ```bash
106
+ npm install @zimeko/wispcss
107
+ ```
108
+
109
+ 2. 购买授权后,将获得的 `src/` 目录复制到:
110
+
111
+ ```
112
+ node_modules/@zimeko/wispcss/src/
113
+ ```
114
+
115
+ 3. 在项目的 CSS 入口文件中引入:
116
+
117
+ ```css
118
+ /* 引入全部组件 */
119
+ @import "@zimeko/wispcss";
120
+
121
+ /* 仅核心:组件 + 工具类,不含 Tailwind 引入(需自行先引入 Tailwind) */
122
+ @import "@zimeko/wispcss/core.css";
123
+
124
+ /* 或仅引入需要的组件 */
125
+ @import "@zimeko/wispcss/color.css";
126
+ @import "@zimeko/wispcss/button.css";
127
+ @import "@zimeko/wispcss/input.css";
128
+ ```
129
+
130
+ 4. 配置 Tailwind CSS:
131
+
132
+ ```css
133
+ @import "tailwindcss";
134
+ @import "@zimeko/wispcss";
135
+ ```
136
+
137
+ 5. 运行 Tailwind CLI 进行编译:
138
+
139
+ ```bash
140
+ npx @tailwindcss/cli -i app.css -o dist/output.css
141
+ ```
142
+
143
+ > 注意:由于 `node_modules` 通常不纳入版本控制,且会在 `npm install` 时重新生成,因此每次重新安装依赖(例如 CI 流程或执行 `npm ci`)后,都需要重新将 `src/` 目录复制到 `node_modules/@zimeko/wispcss/src/`。
144
+
145
+ ### 方式三:自行引入 Tailwind(`core.css`)
146
+
147
+ 方式一、方式二都引入 `index.css`,它本身只是一个入口文件:
148
+
149
+ ```css
150
+ @import "tailwindcss";
151
+ @import "./core.css";
152
+ ```
153
+
154
+ `core.css` 包含整个库(组件、工具类、设计令牌),且**不引入 Tailwind**。如果你的项目已在其它地方引入 Tailwind CSS(框架预设、公共入口文件,或自定义的 `prefix(...)` / `@theme` 配置),请改为引入 `core.css`,避免 Tailwind 层被重复加载:
155
+
156
+ ```css
157
+ /* 示例: app.css */
158
+ @import "tailwindcss"; /* 你自己的 Tailwind 配置,必须先引入 */
159
+ @import "./lib/wispcss/src/core.css"; /* 仅 WispCSS 的组件与工具类 */
160
+ ```
161
+
162
+ - **Tailwind 必须在前。** `core.css` 依赖 Tailwind v4 的 `@utility`、`@theme`、`--theme()`、`--spacing()`,无法单独编译。
163
+ - **其余用法完全一致。** 类名与 tree-shaking 行为都不变,只是 Tailwind 的引入位置由你掌控。
164
+ - **与前缀版兼容。** 若你的 Tailwind 入口使用 `prefix(tw)`,请搭配 `src-prefix/core.css`(见下文“使用前缀”)。
165
+
166
+ ---
167
+
168
+ ## 使用方法
169
+
170
+ WispCSS 的组件使用 Tailwind v4 的 `@utility` 指令,以 class name 的形式应用于 HTML。
171
+
172
+ ```html
173
+ <!-- 按钮 -->
174
+ <button class="btn-primary">提交</button>
175
+ <button class="btn-outline-error">取消</button>
176
+
177
+ <!-- 徽标 -->
178
+ <span class="badge badge-success">10</span>
179
+
180
+ <!-- 输入框 -->
181
+ <input class="input-subtle-primary input-8 input-rounded" placeholder="请输入姓名" />
182
+
183
+ <!-- 文字颜色 -->
184
+ <p class="text-primary">高亮文本</p>
185
+ ```
186
+
187
+ ---
188
+
189
+ ## 使用前缀(`src-prefix/`)
190
+
191
+ Tailwind CSS v4 支持为所有生成的工具类加前缀(`tw:btn-primary` 而不是 `btn-primary`)。WispCSS 随包提供了一份已加好前缀的源码副本 `src-prefix/`,可确保其类名不会与你自己的 Tailwind 类、其它版本的 WispCSS 或第三方 UI 库发生冲突。
192
+
193
+ ### `src-prefix/` 里有什么
194
+
195
+ - 文件列表与 `src/` 完全一致,包含 `index.css`、`core.css` 与全部组件文件。
196
+ - `src-prefix/index.css` 以带前缀的方式引入 Tailwind:
197
+
198
+ ```css
199
+ @import "tailwindcss" prefix(tw);
200
+ @import "./core.css";
201
+ ```
202
+
203
+ - 所有 `@apply` 语句**以及**规则头中的静态类选择器都会加上前缀,因为 Tailwind v4 要求这两处都必须使用带前缀的类名:
204
+
205
+ ```css
206
+ /* src/check.css */
207
+ &:where(.check-subtle, .check-ghost) {
208
+ @apply transition-all-normal;
209
+ }
210
+
211
+ /* src-prefix/check.css */
212
+ &:where(.tw\:check-subtle, .tw\:check-ghost) {
213
+ @apply tw:transition-all-normal;
214
+ }
215
+ ```
216
+
217
+ 反斜杠是 CSS 中冒号的转义写法,因此 `.tw\:check-subtle` 对应 HTML 中的类名 `tw:check-subtle`。
218
+
219
+ ### 引入方式
220
+
221
+ 本地相对路径(源码已拷入项目):
222
+
223
+ ```css
224
+ /* Tailwind + 全部组件,前缀为 tw */
225
+ @import "./lib/wispcss/src-prefix/index.css";
226
+
227
+ /* 或:自己的 Tailwind 入口 + 前缀版组件 */
228
+ @import "tailwindcss" prefix(tw);
229
+ @import "./lib/wispcss/src-prefix/core.css";
230
+ ```
231
+
232
+ npm 子路径(源码已拷入 `node_modules/@zimeko/wispcss/`),`.css` 后缀可省略:
233
+
234
+ ```css
235
+ @import "@zimeko/wispcss/prefix"; /* = src-prefix/index.css 含 prefix(tw) */
236
+ @import "@zimeko/wispcss/prefix/core.css"; /* = src-prefix/core.css Tailwind 由你自己引入 */
237
+ @import "@zimeko/wispcss/prefix/button"; /* = src-prefix/button.css 单个组件 */
238
+ ```
239
+
240
+ 完整子路径映射:
241
+
242
+ | 子路径 | 对应文件 | 是否含 Tailwind 引入 |
243
+ | ------------------------------------ | ---------------------------- | -------------------- |
244
+ | `@zimeko/wispcss` | `src/index.css` | 是 |
245
+ | `@zimeko/wispcss/core.css` | `src/core.css` | 否 |
246
+ | `@zimeko/wispcss/<component>.css` | `src/<component>.css` | 否 |
247
+ | `@zimeko/wispcss/prefix` | `src-prefix/index.css` | 是,且为 `prefix(tw)` |
248
+ | `@zimeko/wispcss/prefix/core.css` | `src-prefix/core.css` | 否 |
249
+ | `@zimeko/wispcss/prefix/<component>` | `src-prefix/<component>.css` | 否 |
250
+
251
+ > `src-prefix/index.css` 中的前缀名取决于 `npm run prefix` 的生成结果(默认 `tw`)。若改引 `src-prefix/core.css`,你自己的 Tailwind 入口必须使用**相同**的前缀:`@import "tailwindcss" prefix(tw);`。
252
+
253
+ ```html
254
+ <button class="tw:btn-primary">提交</button>
255
+ <span class="tw:badge tw:badge-success">10</span>
256
+ <input class="tw:input-subtle tw:input-8 tw:input-rounded" placeholder="请输入姓名" />
257
+ ```
258
+
259
+ ### 更换前缀并重新生成
260
+
261
+ `src-prefix/` 是生成产物,请勿手工修改。生成脚本仅使用 Node.js 内置模块(Node 18+),无需额外依赖:
262
+
263
+ ```bash
264
+ npm run prefix
265
+ ```
266
+
267
+ 脚本会询问前缀,回车后立即开始:
268
+
269
+ ```
270
+ Enter Tailwind prefix (press Enter to use the default "tw"):
271
+ ```
272
+
273
+ - 直接按 **回车** 使用默认的 `tw`。
274
+ - 输入其它名称(如 `wisp`)则得到 `wisp:btn-primary`。
275
+
276
+ 随后脚本会删除并按 `src/` 重建 `src-prefix/`,同时改写入口导入、所有 `@apply` 语句和所有类选择器(包括 `:where()`、`:not()`、`:has()`、`:is()`,以及嵌套与跨行选择器);注释、字符串、属性选择器(`[class*="..."]`)和声明值不会被改动。
277
+
278
+ > 由于每次执行都会删除该目录,请始终在 `src/` 中修改后再重新生成。
279
+
280
+ ---
281
+
282
+ ## 包含的组件
283
+
284
+ 本库提供 50 余个组件及工具类分组,包括但不限于:
285
+
286
+ | 类别 | 组件 |
287
+ | ---- | ---- |
288
+ | 按钮 | `btn`(solid / outline / subtle / ghost / vivid / link 等变体)、`btns`(按钮组合布局) |
289
+ | 表单 | `input` / `textarea` / `select`(共用文本输入样式)、`field`(表单布局)、`shell`(输入框外壳)、`check`(复选框/单选框)、`switch`(开关)、`rating`(星级评分)、`otp`(一次性密码)、`validate`(校验提示) |
290
+ | 展示 | `avatar`(头像)、`badge`(徽章)、`tag`(标签)、`segment`(药丸单选组)、`flag`(角标旗帜)、`buoy`(双段徽章)、`rank`(排名)、`stats`(统计数字)、`swatch`(色块)、`progress`(进度条)、`spinner`(加载器)、`poster`(图片封面)、`icon`(图标)、`skeleton`(骨架屏)、`table`(表格增强)、`tree`(树形组件) |
291
+ | 导航 | `breadcrumb`(面包屑)、`pagination`(分页)、`step`(步骤条)、`dropmenu`(下拉菜单)、`droppanel`(下拉面板)、`lamp`(灯式指示 Tab)、`bookmark`(书签式 Tab)、`tools`(操作工具栏) |
292
+ | 排版 | `link`(链接)、`code`(行内代码)、`pre`(代码块高亮)、`blockquote`(引用块)、`kbd`(键盘按键)、`ellipsis`(文本省略)、`underline`(下划线)、`emphasis`(着重号)、`gilt`(渐变文字) |
293
+ | 布局 | `divider`(分割线)、`spacer`(间隔填充)、`comment`(评论列表)、`entry`(列表条目容器) |
294
+ | 装饰 | `background`(纹理/渐变背景)、`blob`(有机形状)、`bubble`(带箭头气泡)、`callout`(提示框)、`alarm`(脉冲徽章)、`aura`(动态光晕边框)、`sketch`(手绘风格)、`shimmer`(流光效果)、`shadow`(阴影变量) |
295
+ | 状态 | `status`(状态指示点)、`deform`(可变形 CSS 图标)、`empty`(空状态占位) |
296
+ | 动画 | `animation`(关键帧动画工具类)、`transition`(过渡工具类) |
297
+ | 颜色 | `color`(基于 OKLCH 的设计令牌系统)、`theme`(主题切换工具类) |
298
+
299
+ ---
300
+
301
+ ## 补充工具类
302
+
303
+ WispCSS 添加了 Tailwind CSS 默认未包含的 utility class:
304
+
305
+ | 类名 | 说明 |
306
+ | -------------------- | ------------------------------------------------------------------------------------ |
307
+ | `inline-flex-center` | `display: inline-flex; align-items: center; justify-content: center;` 的简写 |
308
+ | `flex-center` | `display: flex; align-items: center; justify-content: center;` 的简写 |
309
+ | `disabled` | 应用禁用状态的不透明度和光标样式 |
310
+ | `inactive` | 对非交互元素应用降低的不透明度 |
311
+ | `text-3xs` | 8px 字号(`max(0.5rem, 8px)`) |
312
+ | `text-2xs` | 10px 字号(`max(0.625rem, 10px)`) |
313
+ | `hidden-appearance` | 在视觉上隐藏输入框,同时保持无障碍可访问性 |
314
+ | `background-cover` | `background-size: cover; background-position: center; background-repeat: no-repeat;` |
315
+ | `rotate-reverse` | 180 度旋转 |
316
+ | `rotate-cross` | 45 度旋转(加号变叉号) |
317
+ | `rotate-expand` | 90 度旋转 |
318
+ | `rotate-collapse` | -90 度旋转 |
319
+
320
+ ---
321
+
322
+ ## 技术要点
323
+
324
+ ### 色彩系统
325
+
326
+ WispCSS 使用 **OKLCH** 色彩空间定义所有主题色。OKLCH 提供感知均匀的亮度,使框架能够根据亮度阈值自动调整浅色和深色模式下的文字对比度。色彩系统通过 CSS 自定义属性定义,并基于亮度阈值动态计算。
327
+
328
+ ### Tree-shaking
329
+
330
+ 由于所有组件均以 Tailwind v4 的 `@utility` 块定义,只有 HTML 中实际使用的类才会被编译进最终的 CSS 输出文件中,从而保持产物体积最小化。
331
+
332
+ ### RTL 支持
333
+
334
+ 依赖方向的组件(箭头、间距、边框等)使用 CSS 逻辑属性(`inset-inline-start`、`border-inline-end`、`padding-inline` 等)和 `:dir()` 选择器。无需额外配置即可支持从右到左的排版。
335
+
336
+ ### 深色模式
337
+
338
+ 深色模式通过向父容器添加 `dark` 类激活,或自动跟随 `prefers-color-scheme: dark` 系统设置。主题色会自动适配所有组件。
339
+
340
+ ---
341
+
342
+ ## 项目结构
343
+
344
+ | 路径 | 说明 |
345
+ | ------------------ | ---------------------------------------------------------------------- |
346
+ | `src/index.css` | 入口文件:`@import "tailwindcss";` 后接 `core.css` |
347
+ | `src/core.css` | 仅含组件、工具类与设计令牌,供已自行引入 Tailwind 的项目使用 |
348
+ | `src/` | 源代码 CSS 文件(含 `@utility` 指令的 `*.css`) |
349
+ | `src-prefix/` | 与 `src/` 文件一致的前缀版(`tw:` 命名空间),由 `npm run prefix` 生成 |
350
+ | `script-prefix.js` | 前缀生成脚本,对应 `npm run prefix` |
351
+ | `dist/` | 编译产物(`wispcss.css`、`wispcss.min.css`) |
352
+ | `examples/` | 所有组件的 HTML demo 文件 |
353
+ | `CHANGELOG.md` | 版本历史 |
354
+ | `LICENSE` | 授权信息 |
355
+
356
+ ---
357
+
358
+ ## 链接
359
+
360
+ - **GitHub**: [https://github.com/zimeko/wispcss](https://github.com/zimeko/wispcss)
361
+ - **Gitee**: [https://gitee.com/zimeko/wispcss](https://gitee.com/zimeko/wispcss)
362
+ - **在线 Demo**: [https://zimeko.github.io/wispcss/](https://zimeko.github.io/wispcss/)
363
+ - **问题反馈**: [https://github.com/zimeko/wispcss/issues](https://github.com/zimeko/wispcss/issues)
364
+ - **意见提交**: [https://www.zimeko.com/feedback/wispcss](https://www.zimeko.com/feedback/wispcss)
365
+ - **客服邮箱**: zimeko2026@outlook.com
366
+
367
+ ---
368
+
369
+ ## 版权与授权
370
+
371
+ ### 源代码文件(`src/`)
372
+
373
+ `src/` 目录下的文件为**商业软件**。在任何项目(包括个人和商业项目)中使用这些文件,均需购买授权。
374
+
375
+ 通过 [ZIMEKO](https://wispcss.zimeko.com) 购买授权。
376
+
377
+ ### 其他文件
378
+
379
+ 本仓库中的其他文件(包括 `examples/`、`dist/`、`docs/`、配置文件)均采用 **MIT 协议** 发布。
380
+
381
+ ---
382
+
383
+ ## 更新日志
384
+
385
+ 详见 [CHANGELOG.md](./CHANGELOG.md)。