unocss 0.45.22 → 0.45.24

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 (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +20 -20
package/README.md CHANGED
@@ -390,7 +390,7 @@ Let's have a tour of what happened when matching for `hover:m-2`:
390
390
  - the result `m-2` will be used for the next round of variants matching
391
391
  - if no other variant is matched, `m-2` will then goes to match the rules
392
392
  - our first rule get matched and generates `.m-2 { margin: 0.5rem; }`
393
- - finally, we apply our variants transformation to the generated CSS. In this case, we prepended `:hover` to the `selector` hook
393
+ - finally, we apply our variants' transformation to the generated CSS. In this case, we prepended `:hover` to the `selector` hook
394
394
 
395
395
  As a result, the following CSS will be generated:
396
396
 
@@ -404,7 +404,7 @@ The variant system is very powerful and can't be covered fully in this guide, yo
404
404
 
405
405
  ### Extend Theme
406
406
 
407
- UnoCSS also supports the theming system that you might be familiar with in Tailwind / Windi. At the user level, you can specify the `theme` property in your config and it will be deep merged to the default theme.
407
+ UnoCSS also supports the theming system that you might be familiar with in Tailwind / Windi. At the user level, you can specify the `theme` property in your config, and it will be deep merged to the default theme.
408
408
 
409
409
  <!--eslint-skip-->
410
410
 
@@ -529,7 +529,7 @@ preprocess(matcher) {
529
529
 
530
530
  Please note that UnoCSS works **at build time**, meaning only statically presented utilities will be generated and shipped to your app. Utilities that used dynamically or fetched from external resources at runtime might not be applied.
531
531
 
532
- By default UnoCSS will extract the utilities usage from files in your build pipeline with extension `.jsx`, `.tsx`, `.vue`, `.md`, `.html`, `.svelte`, `.astro`. And then generate the CSS on demand.
532
+ By default, UnoCSS will extract the utilities usage from files in your build pipeline with extension `.jsx`, `.tsx`, `.vue`, `.md`, `.html`, `.svelte`, `.astro`. And then generate the CSS on demand.
533
533
 
534
534
  `.js` and `.ts` files are **NOT included by default**. You can add `@unocss-include`, per-file basis, anywhere in the file that you want UnoCSS to scan, or add `*.js` or `*.ts` in the configuration to include all js/ts files as scan targets. Similarly, you can also add `@unocss-ignore` to bypass the scanning and transforming for a file.
535
535
 
@@ -547,7 +547,7 @@ Due the fact that UnoCSS works in build time using static extracting, at the com
547
547
  safelist: 'p-1 p-2 p-3 p-4'.split(' ')
548
548
  ```
549
549
 
550
- the corresponding CSS will be always generated:
550
+ the corresponding CSS will always be generated:
551
551
 
552
552
  ```css
553
553
  .p-1 { padding: 0.25rem; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.45.22",
3
+ "version": "0.45.24",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -98,7 +98,7 @@
98
98
  "node": ">=14"
99
99
  },
100
100
  "peerDependencies": {
101
- "@unocss/webpack": "0.45.22"
101
+ "@unocss/webpack": "0.45.24"
102
102
  },
103
103
  "peerDependenciesMeta": {
104
104
  "@unocss/webpack": {
@@ -106,26 +106,26 @@
106
106
  }
107
107
  },
108
108
  "dependencies": {
109
- "@unocss/astro": "0.45.22",
110
- "@unocss/cli": "0.45.22",
111
- "@unocss/core": "0.45.22",
112
- "@unocss/preset-attributify": "0.45.22",
113
- "@unocss/preset-icons": "0.45.22",
114
- "@unocss/preset-mini": "0.45.22",
115
- "@unocss/preset-tagify": "0.45.22",
116
- "@unocss/preset-typography": "0.45.22",
117
- "@unocss/preset-uno": "0.45.22",
118
- "@unocss/preset-web-fonts": "0.45.22",
119
- "@unocss/preset-wind": "0.45.22",
120
- "@unocss/reset": "0.45.22",
121
- "@unocss/transformer-attributify-jsx": "0.45.22",
122
- "@unocss/transformer-compile-class": "0.45.22",
123
- "@unocss/transformer-directives": "0.45.22",
124
- "@unocss/transformer-variant-group": "0.45.22",
125
- "@unocss/vite": "0.45.22"
109
+ "@unocss/astro": "0.45.24",
110
+ "@unocss/cli": "0.45.24",
111
+ "@unocss/core": "0.45.24",
112
+ "@unocss/preset-attributify": "0.45.24",
113
+ "@unocss/preset-icons": "0.45.24",
114
+ "@unocss/preset-mini": "0.45.24",
115
+ "@unocss/preset-tagify": "0.45.24",
116
+ "@unocss/preset-typography": "0.45.24",
117
+ "@unocss/preset-uno": "0.45.24",
118
+ "@unocss/preset-web-fonts": "0.45.24",
119
+ "@unocss/preset-wind": "0.45.24",
120
+ "@unocss/reset": "0.45.24",
121
+ "@unocss/transformer-attributify-jsx": "0.45.24",
122
+ "@unocss/transformer-compile-class": "0.45.24",
123
+ "@unocss/transformer-directives": "0.45.24",
124
+ "@unocss/transformer-variant-group": "0.45.24",
125
+ "@unocss/vite": "0.45.24"
126
126
  },
127
127
  "devDependencies": {
128
- "@unocss/webpack": "0.45.22"
128
+ "@unocss/webpack": "0.45.24"
129
129
  },
130
130
  "scripts": {
131
131
  "build": "unbuild",