wispcss 1.0.7 → 1.0.8
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/CHANGELOG.md +17 -1
- package/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/wispcss.css +189 -71
- package/dist/wispcss.min.css +1 -1
- package/examples/demo-btns.html +47 -12
- package/examples/demo-button-icon.html +6 -0
- package/examples/demo-callout.html +13 -13
- package/examples/demo-gtable.html +1 -1
- package/examples/demo-icons.html +25 -25
- package/examples/demo-theme.html +1 -1
- package/package.json +1 -1
- package/script-prefix.js +2 -2
- package/skill.md +1 -1
package/examples/demo-btns.html
CHANGED
|
@@ -16,9 +16,12 @@
|
|
|
16
16
|
<h2>Notes</h2>
|
|
17
17
|
<div class="section">
|
|
18
18
|
<ul>
|
|
19
|
-
<li>Use class <code>.btns</code> as a container. Child elements are automatically styled as button group items
|
|
20
|
-
|
|
21
|
-
<li>
|
|
19
|
+
<li>Use class <code>.btns</code> as a container. Child elements are automatically styled as button group items.
|
|
20
|
+
</li>
|
|
21
|
+
<li>Mark the active item with <code>data-selected="true"</code>. Use <code>[disabled]</code> for disabled items.
|
|
22
|
+
</li>
|
|
23
|
+
<li>Combining <code>.btns-flush</code> with direction classes (<code>.btns-top</code>, <code>.btns-start</code>,
|
|
24
|
+
<code>.btns-end</code>) enables seamless edge fitting.</li>
|
|
22
25
|
</ul>
|
|
23
26
|
</div>
|
|
24
27
|
|
|
@@ -49,7 +52,10 @@
|
|
|
49
52
|
<h3>With icons</h3>
|
|
50
53
|
<span class="btns">
|
|
51
54
|
<button data-selected="true">⭐ Favorite</button>
|
|
52
|
-
<button><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"
|
|
55
|
+
<button><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
|
|
56
|
+
<path
|
|
57
|
+
d="M18 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-12a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-9 6v6a1 1 0 0 0 1.514 .857l5 -3a1 1 0 0 0 0 -1.714l-5 -3a1 1 0 0 0 -1.514 .857z" />
|
|
58
|
+
</svg> Files</button>
|
|
53
59
|
<button><span class="icon icon-check"></span> Settings</button>
|
|
54
60
|
</span>
|
|
55
61
|
</div>
|
|
@@ -209,7 +215,8 @@
|
|
|
209
215
|
</div>
|
|
210
216
|
<div>
|
|
211
217
|
<h3>Top flush (<code>.btns-top.btns-flush</code>)</h3>
|
|
212
|
-
<div
|
|
218
|
+
<div
|
|
219
|
+
style="padding-bottom:50px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)">
|
|
213
220
|
<span class="btns btns-top btns-flush">
|
|
214
221
|
<button data-selected="true">Left</button>
|
|
215
222
|
<button>Center</button>
|
|
@@ -219,7 +226,8 @@
|
|
|
219
226
|
</div>
|
|
220
227
|
<div>
|
|
221
228
|
<h3>Start flush (<code>.btns-start.btns-flush</code>) — vertical left</h3>
|
|
222
|
-
<div style="height:160px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)"
|
|
229
|
+
<div style="height:160px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)"
|
|
230
|
+
class="flex">
|
|
223
231
|
<span class="btns btns-start btns-flush">
|
|
224
232
|
<button data-selected="true">Top</button>
|
|
225
233
|
<button>Middle</button>
|
|
@@ -230,7 +238,8 @@
|
|
|
230
238
|
</div>
|
|
231
239
|
<div>
|
|
232
240
|
<h3>End flush (<code>.btns-end.btns-flush</code>) — vertical right</h3>
|
|
233
|
-
<div style="height:160px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)"
|
|
241
|
+
<div style="height:160px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)"
|
|
242
|
+
class="flex">
|
|
234
243
|
<div class="flex-1"></div>
|
|
235
244
|
<span class="btns btns-end btns-flush">
|
|
236
245
|
<button data-selected="true">Top</button>
|
|
@@ -241,6 +250,26 @@
|
|
|
241
250
|
</div>
|
|
242
251
|
</div>
|
|
243
252
|
|
|
253
|
+
<h2 id="custom-colors">Custom colors</h2>
|
|
254
|
+
<p>Multiple color formats are supported:</p>
|
|
255
|
+
<ul>
|
|
256
|
+
<li>1. Theme semantic colors, e.g. <code>*-error</code>, <code>*-error-hover</code></li>
|
|
257
|
+
<li>2. Tailwind built-in colors, e.g. <code>*-indigo-500</code></li>
|
|
258
|
+
<li>3. Raw color values, e.g. <code>*-[#ff0000]</code></li>
|
|
259
|
+
<li>4. CSS named colors, e.g. <code>*-[red]</code>, <code>*-[green]</code></li>
|
|
260
|
+
</ul>
|
|
261
|
+
<div class="section">
|
|
262
|
+
<div>
|
|
263
|
+
<span class="btns btns-title"><button data-selected="true">4</button><button>Opt</button><button>Opt</button></span>
|
|
264
|
+
<span class="btns btns-success"><button data-selected="true">5</button><button>Opt</button><button>Opt</button></span>
|
|
265
|
+
<span class="btns btns-[#f0a4d3]"><button data-selected="true">6</button><button>Opt</button><button>Opt</button></span>
|
|
266
|
+
<span class="btns btns-blue-200"><button data-selected="true">7</button><button>Opt</button><button>Opt</button></span>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
244
273
|
<h2 id="sizes">Sizes (btns-4 ~ btns-15)</h2>
|
|
245
274
|
<div class="section">
|
|
246
275
|
<div>
|
|
@@ -325,7 +354,8 @@
|
|
|
325
354
|
</div>
|
|
326
355
|
<div>
|
|
327
356
|
<h3>Flush tab bar</h3>
|
|
328
|
-
<div
|
|
357
|
+
<div
|
|
358
|
+
style="padding-bottom:50px;border:1px solid var(--color-title-bd);border-radius:var(--default-border-radius)">
|
|
329
359
|
<span class="btns btns-top btns-flush">
|
|
330
360
|
<button data-selected="true">Recommended</button>
|
|
331
361
|
<button>Trending</button>
|
|
@@ -335,13 +365,18 @@
|
|
|
335
365
|
</div>
|
|
336
366
|
<div>
|
|
337
367
|
<h3>Size + shape combo</h3>
|
|
338
|
-
<span class="btns btns-7 btns-pill"><button
|
|
339
|
-
|
|
340
|
-
<span class="btns btns-
|
|
368
|
+
<span class="btns btns-7 btns-pill"><button
|
|
369
|
+
data-selected="true">S</button><button>M</button><button>L</button></span>
|
|
370
|
+
<span class="btns btns-10 btns-rounded"><button
|
|
371
|
+
data-selected="true">S</button><button>M</button><button>L</button></span>
|
|
372
|
+
<span class="btns btns-13 btns-square"><button
|
|
373
|
+
data-selected="true">S</button><button>M</button><button>L</button></span>
|
|
341
374
|
</div>
|
|
342
375
|
</div>
|
|
343
376
|
|
|
344
|
-
<p>Note: Child buttons within <code>.btns</code> support all <code>btn-*</code> utilities (variants, colors, shapes,
|
|
377
|
+
<p>Note: Child buttons within <code>.btns</code> support all <code>btn-*</code> utilities (variants, colors, shapes,
|
|
378
|
+
sizes, widths such as <code>btn-ratio</code>, <code>btn-ratio-*</code>, etc.). See the <a
|
|
379
|
+
href="./demo-button.html">Button demo</a> for details.</p>
|
|
345
380
|
|
|
346
381
|
<script src="./demo-utils.js"></script>
|
|
347
382
|
</body>
|
|
@@ -56,6 +56,12 @@
|
|
|
56
56
|
<button class="btn-icon btn-ghost"><i class="fas fa-cog"></i></button>
|
|
57
57
|
<button class="btn-icon btn-ghost" disabled><i class="fas fa-edit"></i></button>
|
|
58
58
|
</div>
|
|
59
|
+
<div>
|
|
60
|
+
<h3>Shapes</h3>
|
|
61
|
+
<button class="btn-icon btn-solid btn-pill"><i class="fas fa-edit"></i></button>
|
|
62
|
+
<button class="btn-icon btn-solid btn-square"><i class="fas fa-trash"></i></button>
|
|
63
|
+
<button class="btn-icon btn-solid btn-rounded"><i class="fas fa-cog"></i></button>
|
|
64
|
+
</div>
|
|
59
65
|
</div>
|
|
60
66
|
|
|
61
67
|
<h2 id="primary-colors">Primary colors</h2>
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
<div>
|
|
28
28
|
<h3>Default callout</h3>
|
|
29
29
|
<div class="callout callout-md">
|
|
30
|
-
<span class="icon icon-triangle-exclamation-
|
|
30
|
+
<span class="icon icon-triangle-exclamation-solid"></span>
|
|
31
31
|
<div>Default warning callout.</div>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div>
|
|
35
35
|
<h3>With title</h3>
|
|
36
36
|
<div class="callout callout-md">
|
|
37
|
-
<span class="icon icon-triangle-exclamation-
|
|
37
|
+
<span class="icon icon-triangle-exclamation-solid icon-xs"></span>
|
|
38
38
|
<div>
|
|
39
39
|
<h3>Note</h3>
|
|
40
40
|
A callout with title and additional description text.
|
|
@@ -284,21 +284,21 @@
|
|
|
284
284
|
<div>
|
|
285
285
|
<h3>callout-warning</h3>
|
|
286
286
|
<div class="callout callout-md callout-warning">
|
|
287
|
-
<span class="icon icon-circle-exclamation-
|
|
287
|
+
<span class="icon icon-circle-exclamation-solid icon-4xs"></span>
|
|
288
288
|
<div>Warning callout.</div>
|
|
289
289
|
</div>
|
|
290
290
|
</div>
|
|
291
291
|
<div>
|
|
292
292
|
<h3>callout-caution</h3>
|
|
293
293
|
<div class="callout callout-md callout-caution">
|
|
294
|
-
<span class="icon icon-triangle-exclamation-
|
|
294
|
+
<span class="icon icon-triangle-exclamation-solid icon-xs"></span>
|
|
295
295
|
<div>Caution callout.</div>
|
|
296
296
|
</div>
|
|
297
297
|
</div>
|
|
298
298
|
<div>
|
|
299
299
|
<h3>callout-highlight</h3>
|
|
300
300
|
<div class="callout callout-md callout-highlight">
|
|
301
|
-
<span class="icon icon-triangle-exclamation-
|
|
301
|
+
<span class="icon icon-triangle-exclamation-solid icon-xs"></span>
|
|
302
302
|
<div>Highlight callout.</div>
|
|
303
303
|
</div>
|
|
304
304
|
</div>
|
|
@@ -367,15 +367,15 @@
|
|
|
367
367
|
<div>Info</div>
|
|
368
368
|
</div>
|
|
369
369
|
<div class="callout callout-md callout-warning callout-solid">
|
|
370
|
-
<span class="icon icon-circle-exclamation-
|
|
370
|
+
<span class="icon icon-circle-exclamation-solid icon-4xs"></span>
|
|
371
371
|
<div>Warning</div>
|
|
372
372
|
</div>
|
|
373
373
|
<div class="callout callout-md callout-caution callout-solid">
|
|
374
|
-
<span class="icon icon-circle-exclamation-
|
|
374
|
+
<span class="icon icon-circle-exclamation-solid icon-4xs"></span>
|
|
375
375
|
<div>Caution</div>
|
|
376
376
|
</div>
|
|
377
377
|
<div class="callout callout-md callout-highlight callout-solid">
|
|
378
|
-
<span class="icon icon-triangle-exclamation-
|
|
378
|
+
<span class="icon icon-triangle-exclamation-solid icon-4xs"></span>
|
|
379
379
|
<div>Highlight</div>
|
|
380
380
|
</div>
|
|
381
381
|
<div class="callout callout-md callout-ink callout-solid">
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
<div>callout-solid-error</div>
|
|
419
419
|
</div>
|
|
420
420
|
<div class="callout callout-md callout-solid-highlight">
|
|
421
|
-
<span class="icon icon-triangle-exclamation-
|
|
421
|
+
<span class="icon icon-triangle-exclamation-solid icon-4xs"></span>
|
|
422
422
|
<div>callout-solid-highlight</div>
|
|
423
423
|
</div>
|
|
424
424
|
</div>
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
<div>callout-muted-error</div>
|
|
438
438
|
</div>
|
|
439
439
|
<div class="callout callout-md callout-muted-highlight">
|
|
440
|
-
<span class="icon icon-triangle-exclamation-
|
|
440
|
+
<span class="icon icon-triangle-exclamation-solid icon-4xs"></span>
|
|
441
441
|
<div>callout-muted-highlight</div>
|
|
442
442
|
</div>
|
|
443
443
|
</div>
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
<div>callout-subtle-error</div>
|
|
457
457
|
</div>
|
|
458
458
|
<div class="callout callout-md callout-subtle-highlight">
|
|
459
|
-
<span class="icon icon-triangle-exclamation-
|
|
459
|
+
<span class="icon icon-triangle-exclamation-solid icon-4xs"></span>
|
|
460
460
|
<div>callout-subtle-highlight</div>
|
|
461
461
|
</div>
|
|
462
462
|
</div>
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
</div>
|
|
560
560
|
</div>
|
|
561
561
|
<div class="callout callout-md callout-caution">
|
|
562
|
-
<span class="icon icon-triangle-exclamation-
|
|
562
|
+
<span class="icon icon-triangle-exclamation-solid icon-xs"></span>
|
|
563
563
|
<div>
|
|
564
564
|
<h3>Disk space low</h3>
|
|
565
565
|
Server disk usage at 92%. Please clean up.
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
<div>
|
|
570
570
|
<h3>Confirmation</h3>
|
|
571
571
|
<div class="callout callout-md callout-warning">
|
|
572
|
-
<span class="icon icon-circle-exclamation-
|
|
572
|
+
<span class="icon icon-circle-exclamation-solid icon-4xs"></span>
|
|
573
573
|
<div>
|
|
574
574
|
<h3>Confirm deletion</h3>
|
|
575
575
|
Are you sure? This action cannot be undone.
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
</div>
|
|
544
544
|
<div class="gtable-row">
|
|
545
545
|
<div class="gtable-cell"><span class="icon icon-x text-error"></span> Failed</div>
|
|
546
|
-
<div class="gtable-cell"><span class="icon icon-triangle-exclamation
|
|
546
|
+
<div class="gtable-cell"><span class="icon icon-triangle-exclamation text-warning"></span> Retry required</div>
|
|
547
547
|
</div>
|
|
548
548
|
</div>
|
|
549
549
|
</div>
|
package/examples/demo-icons.html
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<span class="icon icon-check"></span>
|
|
32
32
|
<span class="icon icon-x"></span>
|
|
33
33
|
<span class="icon icon-info"></span>
|
|
34
|
-
<span class="icon icon-triangle-exclamation
|
|
34
|
+
<span class="icon icon-triangle-exclamation"></span>
|
|
35
35
|
<span class="icon icon-chevron-start"></span>
|
|
36
36
|
</div>
|
|
37
37
|
<div>
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
<span class="icon icon-circle-check-solid text-success"></span>
|
|
40
40
|
<span class="icon icon-circle-x-solid text-error"></span>
|
|
41
41
|
<span class="icon icon-circle-info-solid text-info"></span>
|
|
42
|
-
<span class="icon icon-triangle-exclamation-
|
|
42
|
+
<span class="icon icon-triangle-exclamation-solid text-warning"></span>
|
|
43
43
|
</div>
|
|
44
44
|
<div>
|
|
45
45
|
<h3>Icon + text</h3>
|
|
46
46
|
<span class="icon icon-circle-check-solid text-success"></span> Success
|
|
47
47
|
<span class="icon icon-circle-x-solid text-error"></span> Error
|
|
48
48
|
<span class="icon icon-circle-info-solid text-info"></span> Info
|
|
49
|
-
<span class="icon icon-triangle-exclamation-
|
|
49
|
+
<span class="icon icon-triangle-exclamation-solid text-warning"></span> Warning
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
</div>
|
|
67
67
|
<div>
|
|
68
68
|
<h3>Warning / triangle</h3>
|
|
69
|
-
<span class="icon icon-triangle-exclamation
|
|
70
|
-
<span class="icon icon-triangle-exclamation
|
|
71
|
-
<span class="icon icon-triangle-exclamation-
|
|
69
|
+
<span class="icon icon-triangle-exclamation icon-2xl text-warning"></span> warning
|
|
70
|
+
<span class="icon icon-triangle-exclamation icon-2xl text-warning"></span> triangle-warning
|
|
71
|
+
<span class="icon icon-triangle-exclamation-solid icon-2xl text-warning"></span> triangle-warning-solid
|
|
72
72
|
</div>
|
|
73
73
|
<div>
|
|
74
74
|
<h3>Question / help</h3>
|
|
75
|
-
<span class="icon icon-triangle-exclamation
|
|
76
|
-
<span class="icon icon-circle-exclamation
|
|
77
|
-
<span class="icon icon-circle-exclamation-
|
|
75
|
+
<span class="icon icon-triangle-exclamation icon-2xl text-help"></span> warning
|
|
76
|
+
<span class="icon icon-circle-exclamation icon-2xl text-help"></span> circle-warning
|
|
77
|
+
<span class="icon icon-circle-exclamation-solid icon-2xl text-help"></span> circle-warning-solid
|
|
78
78
|
</div>
|
|
79
79
|
<div>
|
|
80
80
|
<h3>Info</h3>
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
<span class="icon icon-circle-check-solid icon-3xl text-success"></span> success
|
|
117
117
|
<span class="icon icon-circle-x-solid icon-3xl text-error"></span> error
|
|
118
118
|
<span class="icon icon-circle-info-solid icon-3xl text-info"></span> info
|
|
119
|
-
<span class="icon icon-triangle-exclamation-
|
|
120
|
-
<span class="icon icon-circle-exclamation-
|
|
119
|
+
<span class="icon icon-triangle-exclamation-solid icon-3xl text-warning"></span> warning
|
|
120
|
+
<span class="icon icon-circle-exclamation-solid icon-3xl text-help"></span> help
|
|
121
121
|
<span class="icon icon-circle-info-solid icon-3xl text-ink"></span> ink
|
|
122
122
|
<span class="icon icon-circle-info-solid icon-3xl text-title"></span> title
|
|
123
123
|
<span class="icon icon-circle-info-solid icon-3xl text-description"></span> description
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<h3>Status indicators</h3>
|
|
142
142
|
<span class="icon icon-circle-check-solid icon-sm text-success"></span> Upload successful
|
|
143
143
|
<span class="icon icon-circle-x-solid icon-sm text-error"></span> Upload failed
|
|
144
|
-
<span class="icon icon-triangle-exclamation-
|
|
144
|
+
<span class="icon icon-triangle-exclamation-solid icon-sm text-warning"></span> Disk space low
|
|
145
145
|
<span class="icon icon-circle-info-solid icon-sm text-info"></span> Update available
|
|
146
146
|
</div>
|
|
147
147
|
<div>
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<span class="icon icon-circle-check-solid icon-sm text-success"></span> Username available
|
|
156
156
|
<span class="icon icon-circle-x-solid icon-sm text-error"></span> Password too weak
|
|
157
157
|
<span class="icon icon-circle-info-solid icon-sm text-info"></span> Email format OK
|
|
158
|
-
<span class="icon icon-triangle-exclamation-
|
|
158
|
+
<span class="icon icon-triangle-exclamation-solid icon-sm text-warning"></span> Code expiring
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
|
|
@@ -926,9 +926,9 @@
|
|
|
926
926
|
<code>icon-badge-euro</code>
|
|
927
927
|
<span class="icon-gallery-badge">outline</span>
|
|
928
928
|
</div>
|
|
929
|
-
<div class="icon-gallery-item" data-name="icon-badge-exclamation
|
|
930
|
-
<span class="icon icon-8 icon-badge-exclamation
|
|
931
|
-
<code>icon-badge-exclamation
|
|
929
|
+
<div class="icon-gallery-item" data-name="icon-badge-exclamation" data-type="outline" role="button" tabindex="0" title="Copy .icon-badge-exclamation">
|
|
930
|
+
<span class="icon icon-8 icon-badge-exclamation" aria-hidden="true"></span>
|
|
931
|
+
<code>icon-badge-exclamation</code>
|
|
932
932
|
<span class="icon-gallery-badge">outline</span>
|
|
933
933
|
</div>
|
|
934
934
|
<div class="icon-gallery-item" data-name="icon-badge-indian-rupee" data-type="outline" role="button" tabindex="0" title="Copy .icon-badge-indian-rupee">
|
|
@@ -966,9 +966,9 @@
|
|
|
966
966
|
<code>icon-badge-pound-sterling</code>
|
|
967
967
|
<span class="icon-gallery-badge">outline</span>
|
|
968
968
|
</div>
|
|
969
|
-
<div class="icon-gallery-item" data-name="icon-badge-question
|
|
970
|
-
<span class="icon icon-8 icon-badge-question
|
|
971
|
-
<code>icon-badge-question
|
|
969
|
+
<div class="icon-gallery-item" data-name="icon-badge-question" data-type="outline" role="button" tabindex="0" title="Copy .icon-badge-question">
|
|
970
|
+
<span class="icon icon-8 icon-badge-question" aria-hidden="true"></span>
|
|
971
|
+
<code>icon-badge-question</code>
|
|
972
972
|
<span class="icon-gallery-badge">outline</span>
|
|
973
973
|
</div>
|
|
974
974
|
<div class="icon-gallery-item" data-name="icon-badge-russian-ruble" data-type="outline" role="button" tabindex="0" title="Copy .icon-badge-russian-ruble">
|
|
@@ -1081,9 +1081,9 @@
|
|
|
1081
1081
|
<code>icon-battery-charging</code>
|
|
1082
1082
|
<span class="icon-gallery-badge">outline</span>
|
|
1083
1083
|
</div>
|
|
1084
|
-
<div class="icon-gallery-item" data-name="icon-battery-exclamation
|
|
1085
|
-
<span class="icon icon-8 icon-battery-exclamation
|
|
1086
|
-
<code>icon-battery-exclamation
|
|
1084
|
+
<div class="icon-gallery-item" data-name="icon-battery-exclamation" data-type="outline" role="button" tabindex="0" title="Copy .icon-battery-exclamation">
|
|
1085
|
+
<span class="icon icon-8 icon-battery-exclamation" aria-hidden="true"></span>
|
|
1086
|
+
<code>icon-battery-exclamation</code>
|
|
1087
1087
|
<span class="icon-gallery-badge">outline</span>
|
|
1088
1088
|
</div>
|
|
1089
1089
|
<div class="icon-gallery-item" data-name="icon-battery-full" data-type="outline" role="button" tabindex="0" title="Copy .icon-battery-full">
|
|
@@ -1376,9 +1376,9 @@
|
|
|
1376
1376
|
<code>icon-book-down</code>
|
|
1377
1377
|
<span class="icon-gallery-badge">outline</span>
|
|
1378
1378
|
</div>
|
|
1379
|
-
<div class="icon-gallery-item" data-name="icon-book-exclamation
|
|
1380
|
-
<span class="icon icon-8 icon-book-exclamation
|
|
1381
|
-
<code>icon-book-exclamation
|
|
1379
|
+
<div class="icon-gallery-item" data-name="icon-book-exclamation" data-type="outline" role="button" tabindex="0" title="Copy .icon-book-exclamation">
|
|
1380
|
+
<span class="icon icon-8 icon-book-exclamation" aria-hidden="true"></span>
|
|
1381
|
+
<code>icon-book-exclamation</code>
|
|
1382
1382
|
<span class="icon-gallery-badge">outline</span>
|
|
1383
1383
|
</div>
|
|
1384
1384
|
<div class="icon-gallery-item" data-name="icon-book-headphones" data-type="outline" role="button" tabindex="0" title="Copy .icon-book-headphones">
|
package/examples/demo-theme.html
CHANGED
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<h2 style="margin-bottom:12px;">Callout & Alarm & Badge</h2>
|
|
88
88
|
<div class="callout callout-solid-info" style="margin-bottom:8px;"><span class="icon icon-info"></span><span>callout-info</span></div>
|
|
89
89
|
<div class="callout callout-solid-success" style="margin-bottom:8px;"><span class="icon icon-check"></span><span>callout-success</span></div>
|
|
90
|
-
<div class="callout callout-solid-warning" style="margin-bottom:8px;"><span class="icon icon-triangle-exclamation
|
|
90
|
+
<div class="callout callout-solid-warning" style="margin-bottom:8px;"><span class="icon icon-triangle-exclamation"></span><span>callout-warning</span></div>
|
|
91
91
|
<div class="callout callout-solid-error" style="margin-bottom:8px;"><span class="icon icon-x"></span><span>callout-error</span></div>
|
|
92
92
|
<div class="alarm alarm-info" style="margin-bottom:8px;"><span>alarm-info</span></div>
|
|
93
93
|
<div class="alarm alarm-success" style="margin-bottom:8px;"><span>alarm-success</span></div>
|
package/package.json
CHANGED
package/script-prefix.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* to `@import "tailwindcss" prefix(wi);`.
|
|
10
10
|
* 3. Prefix every class name of each `@apply` statement in all CSS files under `src-prefix`.
|
|
11
11
|
* 4. Prefix static class selectors in rule headers, including `:where()`, `:not()`, `:has()` and `:is()`:
|
|
12
|
-
* @apply transition-all-normal inline-flex-center
|
|
13
|
-
* -> @apply wi:transition-all-normal wi:inline-flex-center wi:
|
|
12
|
+
* @apply transition-all-normal inline-flex-center bg-image-cover;
|
|
13
|
+
* -> @apply wi:transition-all-normal wi:inline-flex-center wi:bg-image-cover;
|
|
14
14
|
* &:where(.check-subtle, .check-ghost) -> &:where(.wi\:check-subtle, .wi\:check-ghost)
|
|
15
15
|
*
|
|
16
16
|
* Tailwind v4 requires prefixed class names inside @apply as well, otherwise compilation fails:
|
package/skill.md
CHANGED
|
@@ -423,7 +423,7 @@ tree
|
|
|
423
423
|
| Safe area | `pt-safe` `pb-safe` `px-safe` `py-safe` + margin variants |
|
|
424
424
|
| Transition | `duration-fastest` ~ `duration-slowest` · `transition-all-fastest` ~ `transition-all-slowest` |
|
|
425
425
|
| Icon | `icon-mask` |
|
|
426
|
-
| Other | `object-cover` (image fill) |
|
|
426
|
+
| Other | `object-cover` `object-contain` (image fill) |
|
|
427
427
|
---
|
|
428
428
|
|
|
429
429
|
### 2.11 Preset, Normalize, Color & Theme
|