Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

docs: note linux dark mode relies on webkitgtk

Tw936698ee3ba105
diff --git a/docs/cli-usage.md b/docs/cli-usage.md
index 78336e3b..477d0b46 100644
--- a/docs/cli-usage.md
+++ b/docs/cli-usage.md
@@ -224,6 +224,8 @@ Force packaging applications using dark mode (supports macOS, Windows, and Linux
--dark-mode
```
+On Linux this goes through WebKitGTK, so whether a page renders dark also depends on the WebKitGTK build honoring the window theme and the site implementing `prefers-color-scheme: dark`.
+
#### [disabled-web-shortcuts]
Sets whether to disable web shortcuts in the original Pake container, defaults to `false`.
diff --git a/docs/cli-usage_CN.md b/docs/cli-usage_CN.md
index 58fde523..4ced7e74 100644
--- a/docs/cli-usage_CN.md
+++ b/docs/cli-usage_CN.md
@@ -222,6 +222,8 @@ pake https://github.com --name GitHub
--dark-mode
```
+在 Linux 上黑暗模式经由 WebKitGTK 实现,页面是否真正渲染为暗色还取决于 WebKitGTK 是否尊重窗口主题以及站点是否实现了 `prefers-color-scheme: dark`。
+
#### [disabled-web-shortcuts]
设置是否禁用原有 Pake 容器里面的网页操作快捷键,默认为 `false`。