prewindcss 1.2.8 → 1.2.10

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 +10 -6
  2. package/package.json +1 -1
  3. package/prewind.css +15 -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.8");
31
+ @import url("https://unpkg.com/prewindcss@1.2.10");
32
32
 
33
33
  @layer styles {
34
34
  body {
@@ -285,8 +285,10 @@ Opacity values: `0`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`
285
285
 
286
286
  | Class | Property |
287
287
  | --------------- | ---------------------- |
288
+ | `border-solid` | `border-style: solid` |
288
289
  | `border-dashed` | `border-style: dashed` |
289
290
  | `border-dotted` | `border-style: dotted` |
291
+ | `border-none` | `border: none` |
290
292
 
291
293
  **Color:**
292
294
 
@@ -440,6 +442,7 @@ Prewind uses outlines instead of "ring" utilities. Modern CSS supports rounded o
440
442
 
441
443
  | Class | Property |
442
444
  | ---------------- | ----------------------- |
445
+ | `outline-solid` | `outline-style: solid` |
443
446
  | `outline-dashed` | `outline-style: dashed` |
444
447
  | `outline-dotted` | `outline-style: dotted` |
445
448
 
@@ -643,11 +646,12 @@ Same colors as backgrounds.
643
646
 
644
647
  **Transform:**
645
648
 
646
- | Class | Property |
647
- | ------------ | ---------------------------- |
648
- | `uppercase` | `text-transform: uppercase` |
649
- | `lowercase` | `text-transform: lowercase` |
650
- | `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` |
651
655
 
652
656
  ### User Select
653
657
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prewindcss",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
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 {
@@ -750,6 +756,7 @@
750
756
  height: 100%;
751
757
  }
752
758
  .h-screen {
759
+ height: 100dvh;
753
760
  height: 100vh;
754
761
  }
755
762
 
@@ -1199,6 +1206,7 @@
1199
1206
  max-height: 100%;
1200
1207
  }
1201
1208
  .max-h-screen {
1209
+ max-height: 100dvh;
1202
1210
  max-height: 100vh;
1203
1211
  }
1204
1212
 
@@ -1227,6 +1235,7 @@
1227
1235
  min-height: 100%;
1228
1236
  }
1229
1237
  .min-h-screen {
1238
+ min-height: 100dvh;
1230
1239
  min-height: 100vh;
1231
1240
  }
1232
1241
 
@@ -1371,6 +1380,9 @@
1371
1380
  }
1372
1381
 
1373
1382
  /* Outline Style */
1383
+ .outline-solid {
1384
+ outline-style: solid;
1385
+ }
1374
1386
  .outline-dashed {
1375
1387
  outline-style: dashed;
1376
1388
  }
@@ -1931,6 +1943,9 @@
1931
1943
  .capitalize {
1932
1944
  text-transform: capitalize;
1933
1945
  }
1946
+ .normal-case {
1947
+ text-transform: none;
1948
+ }
1934
1949
 
1935
1950
  /* Font Family */
1936
1951
  .font-body {