prewindcss 1.2.6 → 1.2.7

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 -1
  2. package/package.json +1 -1
  3. package/prewind.css +14 -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.6");
31
+ @import url("https://unpkg.com/prewindcss@1.2.7");
32
32
 
33
33
  @layer styles {
34
34
  body {
@@ -212,6 +212,15 @@ Available colors: `brand-1`, `brand-1-light`, `brand-2`, `brand-2-light`, `brand
212
212
 
213
213
  Opacity values: `0`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, `100`
214
214
 
215
+ **Repeat:**
216
+
217
+ | Class | Property |
218
+ | -------------- | ------------------------------ |
219
+ | `bg-repeat` | `background-repeat: repeat` |
220
+ | `bg-repeat-x` | `background-repeat: repeat-x` |
221
+ | `bg-repeat-y` | `background-repeat: repeat-y` |
222
+ | `bg-no-repeat` | `background-repeat: no-repeat` |
223
+
215
224
  ### Borders
216
225
 
217
226
  **Width:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prewindcss",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Lightweight, no-build Tailwind alternative",
5
5
  "type": "module",
6
6
  "main": "prewind.css",
package/prewind.css CHANGED
@@ -356,6 +356,20 @@
356
356
  background: rgb(from var(--highlight) r g b / var(--bg-opacity, 1));
357
357
  }
358
358
 
359
+ /* Background Repeat */
360
+ .bg-repeat {
361
+ background-repeat: repeat;
362
+ }
363
+ .bg-repeat-x {
364
+ background-repeat: repeat-x;
365
+ }
366
+ .bg-repeat-y {
367
+ background-repeat: repeat-y;
368
+ }
369
+ .bg-no-repeat {
370
+ background-repeat: no-repeat;
371
+ }
372
+
359
373
  /* Colors - Text */
360
374
  .text-brand-1 {
361
375
  color: var(--brand-1);