@unocss/preset-rem-to-px 0.50.6 → 0.50.7

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 +2 -44
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,51 +2,9 @@
2
2
 
3
3
  Coverts rem to px for utils.
4
4
 
5
- ## Installation
5
+ ## Documentation
6
6
 
7
- ```bash
8
- npm i -D @unocss/preset-rem-to-px
9
- ```
10
-
11
- ```ts
12
- import presetUno from '@unocss/preset-uno'
13
- import presetRemToPx from '@unocss/preset-rem-to-px'
14
-
15
- UnoCSS({
16
- presets: [
17
- presetUno(),
18
- presetRemToPx()
19
- ],
20
- })
21
- ```
22
-
23
- ## Usage
24
-
25
- ```html
26
- <div class="m-2"></div>
27
- ```
28
-
29
- <table><tr><td width="500px" valign="top">
30
-
31
- ### without
32
-
33
- ```css
34
- .m-2 {
35
- margin: 0.5rem;
36
- }
37
- ```
38
-
39
- </td><td width="500px" valign="top">
40
-
41
- ### with
42
-
43
- ```css
44
- .m-2 {
45
- margin: 8px;
46
- }
47
- ```
48
-
49
- </td></tr></table>
7
+ Please refer to the [documentation](https://unocss.dev/presets/rem-to-px).
50
8
 
51
9
  ## License
52
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-rem-to-px",
3
- "version": "0.50.6",
3
+ "version": "0.50.7",
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.50.6"
36
+ "@unocss/core": "0.50.7"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",