@unocss/core 0.23.0 → 0.24.0

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
@@ -1,6 +1,6 @@
1
1
  # @unocss/core
2
2
 
3
- The core engine of [UnoCSS](https://github.com/antfu/unocss) without any presets. It can be used as the engine of your own atomic CSS framework.
3
+ The core engine of [UnoCSS](https://github.com/unocss/unocss) without any presets. It can be used as the engine of your own atomic CSS framework.
4
4
 
5
5
  ## Usage
6
6
 
package/dist/index.cjs CHANGED
@@ -366,7 +366,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
366
366
  };
367
367
  }
368
368
 
369
- const version = "0.23.0";
369
+ const version = "0.24.0";
370
370
 
371
371
  class UnoGenerator {
372
372
  constructor(userConfig = {}, defaults = {}) {
package/dist/index.d.ts CHANGED
@@ -62,13 +62,13 @@ interface ParsedColorValue {
62
62
  */
63
63
  no: string;
64
64
  /**
65
- * {@link RGBAColorValue}
65
+ * {@link CSSColorValue}
66
66
  */
67
- rgba?: RGBAColorValue;
67
+ cssColor: CSSColorValue | undefined;
68
68
  /**
69
- * Parsed rgba's alpha value.
69
+ * Parsed alpha value from opacity
70
70
  */
71
- alpha?: number | string;
71
+ alpha: string | number | undefined;
72
72
  }
73
73
  declare type PresetOptions = Record<string, any>;
74
74
  interface RuleContext<Theme extends {} = {}> {
package/dist/index.mjs CHANGED
@@ -362,7 +362,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
362
362
  };
363
363
  }
364
364
 
365
- const version = "0.23.0";
365
+ const version = "0.24.0";
366
366
 
367
367
  class UnoGenerator {
368
368
  constructor(userConfig = {}, defaults = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "keywords": [
6
6
  "unocss",
@@ -10,13 +10,13 @@
10
10
  "tailwind",
11
11
  "windicss"
12
12
  ],
13
- "homepage": "https://github.com/antfu/unocss/tree/main/packages/core#readme",
13
+ "homepage": "https://github.com/unocss/unocss/tree/main/packages/core#readme",
14
14
  "bugs": {
15
- "url": "https://github.com/antfu/unocss/issues"
15
+ "url": "https://github.com/unocss/unocss/issues"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/antfu/unocss.git",
19
+ "url": "git+https://github.com/unocss/unocss.git",
20
20
  "directory": "packages/core"
21
21
  },
22
22
  "funding": "https://github.com/sponsors/antfu",