@rivolink/leaf-darwin-arm64 1.18.1 → 1.19.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 (3) hide show
  1. package/README.md +27 -1
  2. package/leaf +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -139,13 +139,39 @@ leaf --config
139
139
  This opens the configuration file in your editor. If the file does not exist yet, leaf creates it with documented defaults.
140
140
 
141
141
  ```toml
142
- theme = "ocean" # arctic, forest, ocean, solarized-dark
142
+ theme = "ocean" # arctic, forest, ocean, solarized-dark, or a custom theme file
143
143
  editor = "nano" # any editor in PATH
144
144
  watch = false # auto-reload when opening a file
145
145
  ```
146
146
 
147
147
  All settings are optional. CLI arguments always take priority. See [`config.toml`](config.toml) for details.
148
148
 
149
+ ## Custom Themes
150
+
151
+ Create a `.toml` file that inherits from a built-in theme and overrides specific colors:
152
+
153
+ ```toml
154
+ theme = "/path/to/custom-theme.toml"
155
+ ```
156
+
157
+ Relative paths are resolved from the config file directory.
158
+
159
+ ```toml
160
+ # custom-theme.toml
161
+ base = "ocean"
162
+ syntax = "base16-ocean.dark"
163
+
164
+ [ui]
165
+ content_bg = "#282828"
166
+ toc_accent = "#fe8019"
167
+
168
+ [markdown]
169
+ text = "#ebdbb2"
170
+ heading_1 = "#fabd2f"
171
+ ```
172
+
173
+ See [`gruvbox.toml`](gruvbox.toml) for a complete example with all available color keys.
174
+
149
175
  ## Keybindings
150
176
 
151
177
  | Key | Action |
package/leaf CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivolink/leaf-darwin-arm64",
3
- "version": "1.18.1",
3
+ "version": "1.19.0",
4
4
  "description": "leaf binary for darwin arm64",
5
5
  "os": [
6
6
  "darwin"