@unocss/reset 0.1.0-beta.2 → 0.1.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/LICENSE.md ADDED
@@ -0,0 +1,58 @@
1
+
2
+ # Bundled files:
3
+
4
+ ## [eric-meyer.css](http://meyerweb.com/eric/tools/css/reset/)
5
+
6
+ None (public domain)
7
+
8
+ ## [normalize.css](https://github.com/necolas/normalize.css/blob/master/normalize.css)
9
+
10
+ The MIT License (MIT)
11
+
12
+ Copyright © Nicolas Gallagher and Jonathan Neal
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
15
+ this software and associated documentation files (the "Software"), to deal in
16
+ the Software without restriction, including without limitation the rights to
17
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
18
+ of the Software, and to permit persons to whom the Software is furnished to do
19
+ so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+
32
+ ## [tailwind.css](https://github.com/tailwindlabs/tailwindcss/blob/master/src/css/preflight.css)
33
+
34
+ MIT License
35
+
36
+ Copyright (c) Nicolas Gallagher
37
+ Copyright (c) Jonathan Neal
38
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
39
+ Copyright (c) Adam Wathan
40
+ Copyright (c) Jonathan Reinink
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43
+ of this software and associated documentation files (the "Software"), to deal
44
+ in the Software without restriction, including without limitation the rights
45
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the Software is
47
+ furnished to do so, subject to the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be included in all
50
+ copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/reset",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0",
4
4
  "description": "Collection of CSS reseting",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/antfu/unocss#readme",
package/tailwind.css CHANGED
@@ -23,8 +23,7 @@ html {
23
23
  line-height: 1.5; /* 1 */
24
24
  -webkit-text-size-adjust: 100%; /* 2 */
25
25
  -moz-tab-size: 4; /* 3 */
26
- -o-tab-size: 4;
27
- tab-size: 4; /* 3 */
26
+ tab-size: 4; /* 3 */
28
27
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
29
28
  }
30
29
 
@@ -55,8 +54,7 @@ Add the correct text decoration in Chrome, Edge, and Safari.
55
54
  */
56
55
 
57
56
  abbr[title] {
58
- -webkit-text-decoration: underline dotted;
59
- text-decoration: underline dotted;
57
+ text-decoration: underline dotted;
60
58
  }
61
59
 
62
60
  /*
@@ -304,19 +302,9 @@ textarea {
304
302
  2. Set the default placeholder color to the user's configured gray 400 color.
305
303
  */
306
304
 
307
- input::-moz-placeholder, textarea::-moz-placeholder {
308
- opacity: 1; /* 1 */
309
- color: #9ca3af; /* 2 */
310
- }
311
-
312
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
313
- opacity: 1; /* 1 */
314
- color: #9ca3af; /* 2 */
315
- }
316
-
317
305
  input::placeholder,
318
306
  textarea::placeholder {
319
- opacity: 1; /* 1 */
307
+ opacity: 1; /* 1 */
320
308
  color: #9ca3af; /* 2 */
321
309
  }
322
310
 
@@ -329,6 +317,13 @@ button,
329
317
  cursor: pointer;
330
318
  }
331
319
 
320
+ /*
321
+ Make sure disabled buttons don't get the pointer cursor.
322
+ */
323
+ :disabled {
324
+ cursor: default;
325
+ }
326
+
332
327
  /*
333
328
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
334
329
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Anthony Fu <https://github.com/antfu>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.