@rickycourtes/designrail 0.3.1 → 0.3.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/CHANGELOG.md +8 -0
- package/README.md +3 -1
- package/kit/changes.json +14 -1
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
Every foundation release also has an entry in `kit/changes.json`, which
|
|
4
4
|
`designrail upgrade` reads to move a project forward.
|
|
5
5
|
|
|
6
|
+
## 0.3.2
|
|
7
|
+
|
|
8
|
+
- README: the screenshot is now generated by `npm run screenshot` from
|
|
9
|
+
`demo/theme.html`, so it can be re-checked and regenerated after kit
|
|
10
|
+
changes. A test fails if the right-hand theme sets anything beyond
|
|
11
|
+
`--surface`, `--text`, `--accent`, `--text-on-accent` and `--font-ui`.
|
|
12
|
+
No changes to the foundation.
|
|
13
|
+
|
|
6
14
|
## 0.3.1
|
|
7
15
|
|
|
8
16
|
- README: a screenshot of the kit in the default theme and a five-token theme. No changes to the foundation.
|
package/README.md
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
The design foundation for any web project. Every project installs it and
|
|
4
4
|
builds on top of it, and one update to designrail reaches all of them.
|
|
5
5
|
|
|
6
|
-
<img src="assets/screenshot.jpg" alt="
|
|
6
|
+
<img src="assets/screenshot.jpg" alt="The same card in the default theme and in a theme that changes five tokens" width="720">
|
|
7
|
+
|
|
8
|
+
<sub>The same markup, left in the default theme, right with five tokens changed on `:root`. Built from [`demo/`](demo/) by `npm run screenshot`.</sub>
|
|
7
9
|
|
|
8
10
|
designrail has two halves:
|
|
9
11
|
|
package/kit/changes.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"version": "0.2.0",
|
|
26
|
-
"notes": "The kit becomes the foundation: one import (@rickycourtes/designrail/foundation.css), cascade layers so a project's own CSS always wins, and knobs on every part (--btn-bg, --card-pad, --input-rim
|
|
26
|
+
"notes": "The kit becomes the foundation: one import (@rickycourtes/designrail/foundation.css), cascade layers so a project's own CSS always wins, and knobs on every part (--btn-bg, --card-pad, --input-rim…) to restyle it without editing it. .btn.outline is new. `add` is now `eject`.",
|
|
27
27
|
"renamed": {},
|
|
28
28
|
"added": {
|
|
29
29
|
"tokens": [],
|
|
@@ -182,5 +182,18 @@
|
|
|
182
182
|
"tokens": [],
|
|
183
183
|
"parts": []
|
|
184
184
|
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"version": "0.3.2",
|
|
188
|
+
"notes": "README screenshot is now generated from demo/; the foundation is unchanged.",
|
|
189
|
+
"renamed": {},
|
|
190
|
+
"added": {
|
|
191
|
+
"tokens": [],
|
|
192
|
+
"parts": []
|
|
193
|
+
},
|
|
194
|
+
"removed": {
|
|
195
|
+
"tokens": [],
|
|
196
|
+
"parts": []
|
|
197
|
+
}
|
|
185
198
|
}
|
|
186
199
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rickycourtes/designrail",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "The design foundation for any web project: a token contract, layered parts every project builds on, and tooling to audit duplication, extract tokens, fix hardcoded values, gate drift and upgrade.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"test": "mdtest",
|
|
30
|
-
"audit:fixture": "node bin/designrail.js audit fixtures/messy"
|
|
30
|
+
"audit:fixture": "node bin/designrail.js audit fixtures/messy",
|
|
31
|
+
"screenshot": "node scripts/screenshot.js"
|
|
31
32
|
},
|
|
32
33
|
"engines": {
|
|
33
34
|
"node": ">=20"
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"access": "public"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
|
-
"@rickycourtes/mdtest": "^0.1.0"
|
|
54
|
+
"@rickycourtes/mdtest": "^0.1.0",
|
|
55
|
+
"playwright-core": "^1.65.1"
|
|
54
56
|
}
|
|
55
57
|
}
|