@blockle/blocks-reset 0.24.0 → 0.24.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/reset.css.js +20 -31
- package/package.json +8 -4
package/dist/reset.css.js
CHANGED
|
@@ -2,67 +2,56 @@ import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
|
2
2
|
import { layers } from "@blockle/blocks-core";
|
|
3
3
|
import { globalStyle } from "@vanilla-extract/css";
|
|
4
4
|
setFileScope("src/reset.css.ts", "@blockle/blocks-reset");
|
|
5
|
-
globalStyle(":where(
|
|
6
|
-
boxSizing: "inherit",
|
|
7
|
-
WebkitTapHighlightColor: "transparent"
|
|
8
|
-
});
|
|
9
|
-
globalStyle(":where(html)", {
|
|
10
|
-
boxSizing: "border-box",
|
|
5
|
+
globalStyle(":where(*,:after,:before,::backdrop)", {
|
|
11
6
|
"@layer": {
|
|
12
7
|
[layers.reset]: {
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
boxSizing: "inherit",
|
|
9
|
+
border: "0 none",
|
|
10
|
+
margin: 0,
|
|
11
|
+
padding: 0
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
14
|
});
|
|
18
|
-
globalStyle(":where(
|
|
15
|
+
globalStyle(":where(html,:host)", {
|
|
16
|
+
boxSizing: "border-box",
|
|
19
17
|
"@layer": {
|
|
20
18
|
[layers.reset]: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
lineHeight: 1.5,
|
|
20
|
+
WebkitFontSmoothing: "antialiased",
|
|
21
|
+
WebkitTapHighlightColor: "transparent"
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
24
|
});
|
|
27
|
-
globalStyle(":where(button,
|
|
25
|
+
globalStyle(":where(button,input,select,optgroup,textarea)", {
|
|
28
26
|
"@layer": {
|
|
29
27
|
[layers.reset]: {
|
|
30
28
|
fontFamily: "inherit",
|
|
31
29
|
fontSize: "100%",
|
|
32
30
|
lineHeight: "inherit",
|
|
33
|
-
|
|
34
|
-
padding: 0
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
globalStyle(":where(p, ul, ol, pre, blockquote)", {
|
|
39
|
-
"@layer": {
|
|
40
|
-
[layers.reset]: {
|
|
41
|
-
margin: 0,
|
|
42
|
-
padding: 0
|
|
31
|
+
color: "inherit"
|
|
43
32
|
}
|
|
44
33
|
}
|
|
45
34
|
});
|
|
46
|
-
globalStyle(":where(
|
|
35
|
+
globalStyle(":where(pre)", {
|
|
47
36
|
"@layer": {
|
|
48
37
|
[layers.reset]: {
|
|
49
|
-
|
|
50
|
-
padding: 0,
|
|
51
|
-
fontSize: "inherit"
|
|
38
|
+
whiteSpace: "pre-wrap"
|
|
52
39
|
}
|
|
53
40
|
}
|
|
54
41
|
});
|
|
55
|
-
globalStyle(":where(
|
|
42
|
+
globalStyle(":where(h1,h2,h3,h4,h5,h6)", {
|
|
56
43
|
"@layer": {
|
|
57
44
|
[layers.reset]: {
|
|
58
|
-
|
|
45
|
+
fontSize: "inherit",
|
|
46
|
+
fontWeight: "inherit"
|
|
59
47
|
}
|
|
60
48
|
}
|
|
61
49
|
});
|
|
62
|
-
globalStyle(":where(
|
|
50
|
+
globalStyle(":where(a)", {
|
|
63
51
|
"@layer": {
|
|
64
52
|
[layers.reset]: {
|
|
65
|
-
|
|
53
|
+
color: "inherit",
|
|
54
|
+
textDecoration: "inherit"
|
|
66
55
|
}
|
|
67
56
|
}
|
|
68
57
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockle/blocks-reset",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "CSS reset for Blockle",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "git+
|
|
30
|
+
"url": "git+https://github.com/Blockle/blocks.git"
|
|
31
31
|
},
|
|
32
32
|
"author": "Niek Saarberg <n.saarberg@gmail.com>",
|
|
33
33
|
"license": "MIT",
|
|
@@ -36,9 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/Blockle/blocks#readme",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@vanilla-extract/css": "^1.
|
|
39
|
+
"@vanilla-extract/css": "^1.18.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@blockle/blocks-core": ">=1.
|
|
42
|
+
"@blockle/blocks-core": ">=1.3.x"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public",
|
|
46
|
+
"provenance": true
|
|
43
47
|
}
|
|
44
48
|
}
|