@unocss/transformer-directives 0.58.0 → 0.58.1

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/README.md CHANGED
@@ -46,7 +46,7 @@ Will be transformed to:
46
46
 
47
47
  #### CSS Variable Style
48
48
 
49
- To be compatible with vanilla CSS, you can use CSS Variables to replace the `@apply` directive.
49
+ To be compatible with vanilla CSS, you can use CSS custom properties to replace the `@apply` directive.
50
50
 
51
51
  ```css
52
52
  .custom-div {
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ interface TransformerDirectivesOptions {
10
10
  */
11
11
  throwOnMissing?: boolean;
12
12
  /**
13
- * Treat CSS variables as @apply directives for CSS syntax compatible.
13
+ * Treat CSS custom properties as @apply directives for CSS syntax compatibility.
14
14
  *
15
15
  * Pass `false` to disable.
16
16
  *
@@ -18,7 +18,7 @@ interface TransformerDirectivesOptions {
18
18
  */
19
19
  applyVariable?: false | string | string[];
20
20
  /**
21
- * Treat CSS variables as directives for CSS syntax compatible.
21
+ * Treat CSS custom properties as directives for CSS syntax compatibility.
22
22
  *
23
23
  * Pass `false` to disable, or a string to use as a prefix.
24
24
  *
package/dist/index.d.mts CHANGED
@@ -10,7 +10,7 @@ interface TransformerDirectivesOptions {
10
10
  */
11
11
  throwOnMissing?: boolean;
12
12
  /**
13
- * Treat CSS variables as @apply directives for CSS syntax compatible.
13
+ * Treat CSS custom properties as @apply directives for CSS syntax compatibility.
14
14
  *
15
15
  * Pass `false` to disable.
16
16
  *
@@ -18,7 +18,7 @@ interface TransformerDirectivesOptions {
18
18
  */
19
19
  applyVariable?: false | string | string[];
20
20
  /**
21
- * Treat CSS variables as directives for CSS syntax compatible.
21
+ * Treat CSS custom properties as directives for CSS syntax compatibility.
22
22
  *
23
23
  * Pass `false` to disable, or a string to use as a prefix.
24
24
  *
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ interface TransformerDirectivesOptions {
10
10
  */
11
11
  throwOnMissing?: boolean;
12
12
  /**
13
- * Treat CSS variables as @apply directives for CSS syntax compatible.
13
+ * Treat CSS custom properties as @apply directives for CSS syntax compatibility.
14
14
  *
15
15
  * Pass `false` to disable.
16
16
  *
@@ -18,7 +18,7 @@ interface TransformerDirectivesOptions {
18
18
  */
19
19
  applyVariable?: false | string | string[];
20
20
  /**
21
- * Treat CSS variables as directives for CSS syntax compatible.
21
+ * Treat CSS custom properties as directives for CSS syntax compatibility.
22
22
  *
23
23
  * Pass `false` to disable, or a string to use as a prefix.
24
24
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/transformer-directives",
3
- "version": "0.58.0",
3
+ "version": "0.58.1",
4
4
  "description": "UnoCSS transformer for `@apply` directive",
5
5
  "author": "hannoeru <me@hanlee.co>",
6
6
  "license": "MIT",
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "css-tree": "^2.3.1",
36
- "@unocss/core": "0.58.0",
37
- "@unocss/rule-utils": "0.58.0"
36
+ "@unocss/core": "0.58.1",
37
+ "@unocss/rule-utils": "0.58.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "magic-string": "^0.30.5"