@unocss/preset-rem-to-px 0.55.0 → 0.55.2
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/dist/index.d.cts +12 -0
- package/dist/index.d.mts +12 -0
- package/package.json +2 -2
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Preset } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
interface RemToPxOptions {
|
|
4
|
+
/**
|
|
5
|
+
* 1rem = n px
|
|
6
|
+
* @default 16
|
|
7
|
+
*/
|
|
8
|
+
baseFontSize?: number;
|
|
9
|
+
}
|
|
10
|
+
declare function remToPxPreset(options?: RemToPxOptions): Preset;
|
|
11
|
+
|
|
12
|
+
export { RemToPxOptions, remToPxPreset as default };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Preset } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
interface RemToPxOptions {
|
|
4
|
+
/**
|
|
5
|
+
* 1rem = n px
|
|
6
|
+
* @default 16
|
|
7
|
+
*/
|
|
8
|
+
baseFontSize?: number;
|
|
9
|
+
}
|
|
10
|
+
declare function remToPxPreset(options?: RemToPxOptions): Preset;
|
|
11
|
+
|
|
12
|
+
export { RemToPxOptions, remToPxPreset as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-rem-to-px",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
4
4
|
"description": "Convert all rem to px in utils",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.55.
|
|
36
|
+
"@unocss/core": "0.55.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "unbuild",
|