@pearpages/pulp-css 0.1.2 → 0.1.4
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/package.json +4 -3
- package/src/base.css +3 -0
- package/src/layers.css +3 -1
- package/src/reset.css +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pearpages/pulp-css",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "pulp base styles: cascade layers, a reset, and body defaults on top of the tokens. Framework-agnostic; import once per app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Pere Pages <hello@pearpages.com> (https://pearpages.com)",
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@pearpages/pulp-tokens": "^0.
|
|
25
|
+
"@pearpages/pulp-tokens": "^0.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"publint": "^0.3.24"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
|
-
"check:package": "publint"
|
|
31
|
+
"check:package": "publint",
|
|
32
|
+
"test:run": "node --test \"scripts/*.test.mjs\""
|
|
32
33
|
}
|
|
33
34
|
}
|
package/src/base.css
CHANGED
package/src/layers.css
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Cascade order for everything pulp ships
|
|
2
|
+
* Cascade order for everything pulp ships. Layers rank by first appearance and a bundler
|
|
3
|
+
* decides which file loads first, so every other pulp stylesheet (reset, base, tokens.css,
|
|
4
|
+
* each component) restates this exact list before its own block; tests keep the copies equal.
|
|
3
5
|
* `vendor` is for third-party stylesheets (`@import "…" layer(vendor)`), so they sit
|
|
4
6
|
* below pulp's own components. Consumers can add their own layers after `utilities`;
|
|
5
7
|
* an unlayered rule in the app always wins over any of these, which is the intended
|