@blockle/blocks-reset 0.21.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 +15 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +1 -0
- package/dist/reset.css.cjs +38 -0
- package/dist/reset.css.d.ts +1 -0
- package/dist/reset.css.js +37 -0
- package/package.json +48 -0
package/README.md
ADDED
package/dist/index.cjs
ADDED
package/dist/index.d.ts
ADDED
|
File without changes
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./reset.css.js";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
fileScope.setFileScope("src/reset.css.ts", "@blockle/blocks-reset");
|
|
5
|
+
css.globalStyle(":where(*, *::before, *::after)", {
|
|
6
|
+
boxSizing: "inherit",
|
|
7
|
+
WebkitTapHighlightColor: "transparent"
|
|
8
|
+
});
|
|
9
|
+
css.globalStyle(":where(html)", {
|
|
10
|
+
lineHeight: 1.5,
|
|
11
|
+
boxSizing: "border-box",
|
|
12
|
+
WebkitFontSmoothing: "antialiased"
|
|
13
|
+
});
|
|
14
|
+
css.globalStyle(":where(body)", {
|
|
15
|
+
margin: 0,
|
|
16
|
+
padding: 0,
|
|
17
|
+
fontFamily: "Calibri, sans-serif"
|
|
18
|
+
});
|
|
19
|
+
css.globalStyle(":where(button, input, optgroup, select, textarea)", {
|
|
20
|
+
fontFamily: "inherit",
|
|
21
|
+
fontSize: "100%",
|
|
22
|
+
lineHeight: "inherit",
|
|
23
|
+
margin: 0,
|
|
24
|
+
padding: 0
|
|
25
|
+
});
|
|
26
|
+
css.globalStyle(":where(p, ul, ol, pre, blockquote)", {
|
|
27
|
+
margin: 0,
|
|
28
|
+
padding: 0
|
|
29
|
+
});
|
|
30
|
+
css.globalStyle(":where(h1, h2, h3, h4, h5, h6)", {
|
|
31
|
+
margin: 0,
|
|
32
|
+
padding: 0,
|
|
33
|
+
fontSize: "inherit"
|
|
34
|
+
});
|
|
35
|
+
css.globalStyle(":where(pre)", {
|
|
36
|
+
whiteSpace: "pre-wrap"
|
|
37
|
+
});
|
|
38
|
+
fileScope.endFileScope();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
+
import { globalStyle } from "@vanilla-extract/css";
|
|
3
|
+
setFileScope("src/reset.css.ts", "@blockle/blocks-reset");
|
|
4
|
+
globalStyle(":where(*, *::before, *::after)", {
|
|
5
|
+
boxSizing: "inherit",
|
|
6
|
+
WebkitTapHighlightColor: "transparent"
|
|
7
|
+
});
|
|
8
|
+
globalStyle(":where(html)", {
|
|
9
|
+
lineHeight: 1.5,
|
|
10
|
+
boxSizing: "border-box",
|
|
11
|
+
WebkitFontSmoothing: "antialiased"
|
|
12
|
+
});
|
|
13
|
+
globalStyle(":where(body)", {
|
|
14
|
+
margin: 0,
|
|
15
|
+
padding: 0,
|
|
16
|
+
fontFamily: "Calibri, sans-serif"
|
|
17
|
+
});
|
|
18
|
+
globalStyle(":where(button, input, optgroup, select, textarea)", {
|
|
19
|
+
fontFamily: "inherit",
|
|
20
|
+
fontSize: "100%",
|
|
21
|
+
lineHeight: "inherit",
|
|
22
|
+
margin: 0,
|
|
23
|
+
padding: 0
|
|
24
|
+
});
|
|
25
|
+
globalStyle(":where(p, ul, ol, pre, blockquote)", {
|
|
26
|
+
margin: 0,
|
|
27
|
+
padding: 0
|
|
28
|
+
});
|
|
29
|
+
globalStyle(":where(h1, h2, h3, h4, h5, h6)", {
|
|
30
|
+
margin: 0,
|
|
31
|
+
padding: 0,
|
|
32
|
+
fontSize: "inherit"
|
|
33
|
+
});
|
|
34
|
+
globalStyle(":where(pre)", {
|
|
35
|
+
whiteSpace: "pre-wrap"
|
|
36
|
+
});
|
|
37
|
+
endFileScope();
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@blockle/blocks-reset",
|
|
3
|
+
"version": "0.21.0",
|
|
4
|
+
"description": "CSS reset for Blockle",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"reset.css.*"
|
|
8
|
+
],
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": {
|
|
12
|
+
"import": "./dist/index.d.mts",
|
|
13
|
+
"require": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/index.cjs",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "vite build",
|
|
27
|
+
"test": "vitest ",
|
|
28
|
+
"lint": "biome format ./src",
|
|
29
|
+
"format": "biome format --write ./src",
|
|
30
|
+
"ts": "tsc --noemit --project ./tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+ssh://git@github.com/Blockle/blocks.git"
|
|
35
|
+
},
|
|
36
|
+
"author": "Niek Saarberg <n.saarberg@gmail.com>",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/Blockle/blocks/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/Blockle/blocks#readme",
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@vanilla-extract/css": "^1.17.1"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@vanilla-extract/css": "^1.17.1"
|
|
47
|
+
}
|
|
48
|
+
}
|