@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 +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @unocss/core
|
|
2
2
|
|
|
3
|
-
The core engine of [UnoCSS](https://github.com/
|
|
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
package/dist/index.d.ts
CHANGED
|
@@ -62,13 +62,13 @@ interface ParsedColorValue {
|
|
|
62
62
|
*/
|
|
63
63
|
no: string;
|
|
64
64
|
/**
|
|
65
|
-
* {@link
|
|
65
|
+
* {@link CSSColorValue}
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
cssColor: CSSColorValue | undefined;
|
|
68
68
|
/**
|
|
69
|
-
* Parsed
|
|
69
|
+
* Parsed alpha value from opacity
|
|
70
70
|
*/
|
|
71
|
-
alpha
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/core",
|
|
3
|
-
"version": "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/
|
|
13
|
+
"homepage": "https://github.com/unocss/unocss/tree/main/packages/core#readme",
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/unocss/unocss/issues"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/
|
|
19
|
+
"url": "git+https://github.com/unocss/unocss.git",
|
|
20
20
|
"directory": "packages/core"
|
|
21
21
|
},
|
|
22
22
|
"funding": "https://github.com/sponsors/antfu",
|