@kitlangton/ghui 0.6.0 → 0.7.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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -69,6 +69,23 @@ GHUI_PR_FETCH_LIMIT=100 ghui
69
69
 
70
70
  You can also copy `.env.example` to `.env` and edit the values locally.
71
71
 
72
+ ghui stores UI preferences in `config.json` under `GHUI_CONFIG_DIR` when set,
73
+ otherwise under the platform config directory. On Linux this is normally
74
+ `~/.config/ghui/config.json`.
75
+
76
+ Example:
77
+
78
+ ```json
79
+ {
80
+ "theme": "system",
81
+ "systemThemeAutoReload": true
82
+ }
83
+ ```
84
+
85
+ `systemThemeAutoReload` defaults to `false`. Set it to `true` to let external
86
+ theme reload signals update the active system theme palette while ghui is
87
+ running.
88
+
72
89
  ## Keybindings
73
90
 
74
91
  - `up` / `down`: move selection
@@ -93,7 +110,7 @@ You can also copy `.env.example` to `.env` and edit the values locally.
93
110
  - `s`: toggle draft or ready-for-review state
94
111
  - `m`: merge
95
112
  - `x`: close with confirmation
96
- - `t`: choose theme, including `System` to match your terminal colors
113
+ - `t`: choose a fixed theme, including `System` to match your terminal colors; press `m` in the theme picker to follow the OS light/dark appearance with separate theme choices
97
114
  - `l`: manage labels
98
115
  - `o`: open PR in browser
99
116
  - `y`: copy PR metadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitlangton/ghui",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Terminal UI for GitHub pull requests",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,10 +27,10 @@
27
27
  "LICENSE"
28
28
  ],
29
29
  "optionalDependencies": {
30
- "@kitlangton/ghui-darwin-arm64": "0.6.0",
31
- "@kitlangton/ghui-darwin-x64": "0.6.0",
32
- "@kitlangton/ghui-linux-arm64": "0.6.0",
33
- "@kitlangton/ghui-linux-x64": "0.6.0"
30
+ "@kitlangton/ghui-darwin-arm64": "0.7.0",
31
+ "@kitlangton/ghui-darwin-x64": "0.7.0",
32
+ "@kitlangton/ghui-linux-arm64": "0.7.0",
33
+ "@kitlangton/ghui-linux-x64": "0.7.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public",