prewindcss 1.2.7 → 1.2.9

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 (3) hide show
  1. package/README.md +46 -6
  2. package/package.json +1 -1
  3. package/prewind.css +69 -0
package/README.md CHANGED
@@ -28,7 +28,7 @@ Create a `styles.css` file that sets up CSS layers, imports your theme and Prewi
28
28
  @layer reset, styles, prewind;
29
29
 
30
30
  @import url("theme.css");
31
- @import url("https://unpkg.com/prewindcss@1.2.7");
31
+ @import url("https://unpkg.com/prewindcss@1.2.9");
32
32
 
33
33
  @layer styles {
34
34
  body {
@@ -221,6 +221,42 @@ Opacity values: `0`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`
221
221
  | `bg-repeat-y` | `background-repeat: repeat-y` |
222
222
  | `bg-no-repeat` | `background-repeat: no-repeat` |
223
223
 
224
+ **Size:**
225
+
226
+ | Class | Property |
227
+ | ------------ | -------------------------- |
228
+ | `bg-cover` | `background-size: cover` |
229
+ | `bg-contain` | `background-size: contain` |
230
+ | `bg-auto` | `background-size: auto` |
231
+
232
+ **Position:**
233
+
234
+ | Class | Property |
235
+ | ----------------- | ----------------------------------- |
236
+ | `bg-center` | `background-position: center` |
237
+ | `bg-top` | `background-position: top` |
238
+ | `bg-bottom` | `background-position: bottom` |
239
+ | `bg-left` | `background-position: left` |
240
+ | `bg-right` | `background-position: right` |
241
+ | `bg-left-top` | `background-position: left top` |
242
+ | `bg-left-bottom` | `background-position: left bottom` |
243
+ | `bg-right-top` | `background-position: right top` |
244
+ | `bg-right-bottom` | `background-position: right bottom` |
245
+
246
+ **Attachment:**
247
+
248
+ | Class | Property |
249
+ | ----------- | ------------------------------- |
250
+ | `bg-fixed` | `background-attachment: fixed` |
251
+ | `bg-local` | `background-attachment: local` |
252
+ | `bg-scroll` | `background-attachment: scroll` |
253
+
254
+ **Clip:**
255
+
256
+ | Class | Property |
257
+ | -------------- | ----------------------- |
258
+ | `bg-clip-text` | `background-clip: text` |
259
+
224
260
  ### Borders
225
261
 
226
262
  **Width:**
@@ -249,8 +285,10 @@ Opacity values: `0`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`
249
285
 
250
286
  | Class | Property |
251
287
  | --------------- | ---------------------- |
288
+ | `border-solid` | `border-style: solid` |
252
289
  | `border-dashed` | `border-style: dashed` |
253
290
  | `border-dotted` | `border-style: dotted` |
291
+ | `border-none` | `border: none` |
254
292
 
255
293
  **Color:**
256
294
 
@@ -404,6 +442,7 @@ Prewind uses outlines instead of "ring" utilities. Modern CSS supports rounded o
404
442
 
405
443
  | Class | Property |
406
444
  | ---------------- | ----------------------- |
445
+ | `outline-solid` | `outline-style: solid` |
407
446
  | `outline-dashed` | `outline-style: dashed` |
408
447
  | `outline-dotted` | `outline-style: dotted` |
409
448
 
@@ -607,11 +646,12 @@ Same colors as backgrounds.
607
646
 
608
647
  **Transform:**
609
648
 
610
- | Class | Property |
611
- | ------------ | ---------------------------- |
612
- | `uppercase` | `text-transform: uppercase` |
613
- | `lowercase` | `text-transform: lowercase` |
614
- | `capitalize` | `text-transform: capitalize` |
649
+ | Class | Property |
650
+ | ------------- | ---------------------------- |
651
+ | `uppercase` | `text-transform: uppercase` |
652
+ | `lowercase` | `text-transform: lowercase` |
653
+ | `capitalize` | `text-transform: capitalize` |
654
+ | `normal-case` | `text-transform: none` |
615
655
 
616
656
  ### User Select
617
657
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prewindcss",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "Lightweight, no-build Tailwind alternative",
5
5
  "type": "module",
6
6
  "main": "prewind.css",
package/prewind.css CHANGED
@@ -210,12 +210,18 @@
210
210
  }
211
211
 
212
212
  /* Border Style */
213
+ .border-solid {
214
+ border-style: solid;
215
+ }
213
216
  .border-dashed {
214
217
  border-style: dashed;
215
218
  }
216
219
  .border-dotted {
217
220
  border-style: dotted;
218
221
  }
222
+ .border-none {
223
+ border: none;
224
+ }
219
225
 
220
226
  /* Border Width */
221
227
  .border {
@@ -370,6 +376,63 @@
370
376
  background-repeat: no-repeat;
371
377
  }
372
378
 
379
+ /* Background Size */
380
+ .bg-cover {
381
+ background-size: cover;
382
+ }
383
+ .bg-contain {
384
+ background-size: contain;
385
+ }
386
+ .bg-auto {
387
+ background-size: auto;
388
+ }
389
+
390
+ /* Background Position */
391
+ .bg-center {
392
+ background-position: center;
393
+ }
394
+ .bg-top {
395
+ background-position: top;
396
+ }
397
+ .bg-bottom {
398
+ background-position: bottom;
399
+ }
400
+ .bg-left {
401
+ background-position: left;
402
+ }
403
+ .bg-right {
404
+ background-position: right;
405
+ }
406
+ .bg-left-top {
407
+ background-position: left top;
408
+ }
409
+ .bg-left-bottom {
410
+ background-position: left bottom;
411
+ }
412
+ .bg-right-top {
413
+ background-position: right top;
414
+ }
415
+ .bg-right-bottom {
416
+ background-position: right bottom;
417
+ }
418
+
419
+ /* Background Attachment */
420
+ .bg-fixed {
421
+ background-attachment: fixed;
422
+ }
423
+ .bg-local {
424
+ background-attachment: local;
425
+ }
426
+ .bg-scroll {
427
+ background-attachment: scroll;
428
+ }
429
+
430
+ /* Background Clip */
431
+ .bg-clip-text {
432
+ -webkit-background-clip: text;
433
+ background-clip: text;
434
+ }
435
+
373
436
  /* Colors - Text */
374
437
  .text-brand-1 {
375
438
  color: var(--brand-1);
@@ -1314,6 +1377,9 @@
1314
1377
  }
1315
1378
 
1316
1379
  /* Outline Style */
1380
+ .outline-solid {
1381
+ outline-style: solid;
1382
+ }
1317
1383
  .outline-dashed {
1318
1384
  outline-style: dashed;
1319
1385
  }
@@ -1874,6 +1940,9 @@
1874
1940
  .capitalize {
1875
1941
  text-transform: capitalize;
1876
1942
  }
1943
+ .normal-case {
1944
+ text-transform: none;
1945
+ }
1877
1946
 
1878
1947
  /* Font Family */
1879
1948
  .font-body {