for-humanity 0.4.2 → 0.4.3
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 +4 -0
- package/README.md +3 -3
- package/dist/cli.css +13 -5
- package/package.json +1 -1
- package/src/component/widget/shell/wg-shell.css +17 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.4.3 — 2026-10-04
|
|
6
|
+
|
|
7
|
+
- Use standard native navigation scrollbars in forced-color mode so browser color adjustment cannot hide custom thumbs against the background.
|
|
8
|
+
|
|
5
9
|
## 0.4.2 — 2026-10-04
|
|
6
10
|
|
|
7
11
|
- Preserve sidebar and mobile drawer scroll positions across document navigation and reloads within a tab, independently of the main content.
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Write Markdown. Keep the context. Share a static site.
|
|
|
33
33
|
Node.js 22 or later and pnpm. Install the CLI in your document project:
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
pnpm add -D --save-exact for-humanity@0.4.
|
|
36
|
+
pnpm add -D --save-exact for-humanity@0.4.3
|
|
37
37
|
mkdir docs
|
|
38
38
|
```
|
|
39
39
|
|
|
@@ -52,7 +52,7 @@ pnpm exec for-humanity preview docs
|
|
|
52
52
|
|
|
53
53
|
If your Markdown files are in the project root, use `.` instead of `docs`. The root `README.md` becomes the home page; root `AGENTS.md` and `CLAUDE.md` stay out of the site.
|
|
54
54
|
|
|
55
|
-
Version `0.4.
|
|
55
|
+
Version `0.4.3` supports `dev`, `build` and `preview`. `init` is planned; see the [Roadmap](https://github.com/minu-ha/for-humanity/blob/main/templates/document/roadmap.md) and [Changelog](https://github.com/minu-ha/for-humanity/blob/main/CHANGELOG.md).
|
|
56
56
|
Cloudflare Pages can host the generated site. See [Deployment](https://github.com/minu-ha/for-humanity/blob/main/templates/document/deployment.md) for the build settings.
|
|
57
57
|
|
|
58
58
|
### Develop the kit
|
|
@@ -74,7 +74,7 @@ pnpm preview # Preview the static site
|
|
|
74
74
|
pnpm build:pages # Add Cloudflare Pages headers and a 404 page
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
Changes pushed to `main` update the documentation site. A stable version tag such as `v0.4.
|
|
77
|
+
Changes pushed to `main` update the documentation site. A stable version tag such as `v0.4.3` runs checks, publishes the package to npm, then creates a GitHub Release with the same package file.
|
|
78
78
|
The npm README updates with each package release. See [Maintenance](https://github.com/minu-ha/for-humanity/blob/main/templates/document/maintenance.md#packaging-and-release) for the release steps.
|
|
79
79
|
|
|
80
80
|
## Make it yours
|
package/dist/cli.css
CHANGED
|
@@ -1031,15 +1031,23 @@
|
|
|
1031
1031
|
}
|
|
1032
1032
|
@media (forced-colors: active) {
|
|
1033
1033
|
.wg_shell__sidebar {
|
|
1034
|
-
scrollbar-width:
|
|
1034
|
+
scrollbar-width: thin;
|
|
1035
1035
|
scrollbar-color: auto;
|
|
1036
|
-
|
|
1037
|
-
|
|
1036
|
+
&:hover {
|
|
1037
|
+
scrollbar-color: auto;
|
|
1038
|
+
}
|
|
1039
|
+
&:focus-within {
|
|
1040
|
+
scrollbar-color: auto;
|
|
1038
1041
|
}
|
|
1039
1042
|
}
|
|
1040
1043
|
.wg_shell__drawer {
|
|
1041
|
-
|
|
1042
|
-
|
|
1044
|
+
scrollbar-width: thin;
|
|
1045
|
+
scrollbar-color: auto;
|
|
1046
|
+
&:hover {
|
|
1047
|
+
scrollbar-color: auto;
|
|
1048
|
+
}
|
|
1049
|
+
&:focus-within {
|
|
1050
|
+
scrollbar-color: auto;
|
|
1043
1051
|
}
|
|
1044
1052
|
}
|
|
1045
1053
|
}
|
package/package.json
CHANGED
|
@@ -294,17 +294,29 @@
|
|
|
294
294
|
/* 색상 강제 환경은 시스템 손잡이 유지 · 대비 설정을 덮어쓰지 않음 */
|
|
295
295
|
@media (forced-colors: active) {
|
|
296
296
|
.wg_shell__sidebar {
|
|
297
|
-
|
|
297
|
+
/* non-auto 표준 폭은 WebKit 전용 스타일을 비활성화해 네이티브 색상 유지 */
|
|
298
|
+
scrollbar-width: thin;
|
|
298
299
|
scrollbar-color: auto;
|
|
299
300
|
|
|
300
|
-
|
|
301
|
-
|
|
301
|
+
&:hover {
|
|
302
|
+
scrollbar-color: auto;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&:focus-within {
|
|
306
|
+
scrollbar-color: auto;
|
|
302
307
|
}
|
|
303
308
|
}
|
|
304
309
|
|
|
305
310
|
.wg_shell__drawer {
|
|
306
|
-
|
|
307
|
-
|
|
311
|
+
scrollbar-width: thin;
|
|
312
|
+
scrollbar-color: auto;
|
|
313
|
+
|
|
314
|
+
&:hover {
|
|
315
|
+
scrollbar-color: auto;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&:focus-within {
|
|
319
|
+
scrollbar-color: auto;
|
|
308
320
|
}
|
|
309
321
|
}
|
|
310
322
|
}
|