Skip to content

Commit dee48fa

Browse files
docs: update theming section in README for clarity and remove custom colors example
1 parent 626d407 commit dee48fa

File tree

1 file changed

+1
-59
lines changed

1 file changed

+1
-59
lines changed

README.md

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A blazing fast, Rust-based workspace manager for your temporary experiments.
3535
| **Git Integration** | Auto-clones URLs (`try-rs <url>`) and marks repos with (). |
3636
| **Content Preview** | Inspect files inside a folder before entering it. |
3737
| **Editor Integration** | Open experiments directly in your editor (`Ctrl+E`). |
38-
| **Theming** | Switch themes at runtime (`Ctrl+T`) or customize via config. |
38+
| **Theming** | Switch themes at runtime (`Ctrl+T`) or set a default in config. |
3939
| **Safe Deletion** | Delete old experiments via UI with confirmation (`Ctrl+D`). |
4040
| **Configurable** | Supports XDG Base Directory (view section [Configuration](#configuration)). |
4141
| **Multi-Shell Support** | Supports Fish, Zsh, Bash, Power Shell and Nushell. |
@@ -211,62 +211,6 @@ You can use any of these theme names in your configuration:
211211
- `"Matrix"`
212212
- `"Tron"`
213213

214-
**Custom Colors (Optional):**
215-
216-
If you want to create a fully custom theme, you can define individual colors instead of using the `theme` option:
217-
218-
```toml
219-
# config.toml
220-
tries_path = "~/Development/playground"
221-
editor = "code"
222-
223-
[colors]
224-
# Background color (optional - omit for transparent)
225-
background = "#1E1E2E"
226-
227-
# UI Colors
228-
title_try = "Magenta"
229-
title_rs = "White"
230-
search_title = "Green"
231-
search_border = "Gray"
232-
folder_title = "Yellow"
233-
folder_border = "Gray"
234-
disk_title = "Orange"
235-
disk_border = "Gray"
236-
preview_title = "Blue"
237-
preview_border = "Gray"
238-
legends_title = "Purple"
239-
legends_border = "Gray"
240-
list_date = "Blue"
241-
list_highlight_bg = "Magenta"
242-
list_highlight_fg = "Black"
243-
helpers_colors = "DarkGray"
244-
status_message = "Yellow"
245-
popup_bg = "DarkGray"
246-
popup_text = "LightRed"
247-
248-
# Icons Colors
249-
icon_rust = "Red"
250-
icon_maven = "Orange"
251-
icon_flutter = "Cyan"
252-
icon_go = "Cyan"
253-
icon_python = "Yellow"
254-
icon_mise = "Orange"
255-
icon_worktree = "Green"
256-
icon_worktree_lock = "Gray"
257-
icon_gitmodules = "Purple"
258-
icon_git = "Red"
259-
icon_folder = "Yellow"
260-
icon_file = "Gray"
261-
```
262-
263-
**Available Color Names:**
264-
265-
You can use the following color names in your custom color configuration:
266-
267-
- Basic colors: `Black`, `Red`, `Green`, `Yellow`, `Blue`, `Magenta`, `Cyan`, `Gray`, `DarkGray`, `LightRed`, `LightGreen`, `LightYellow`, `LightBlue`, `LightMagenta`, `LightCyan`, `White`
268-
- RGB colors: You can also use RGB values like `"#FF5733"` or as a table: `{ r = 255, g = 87, b = 51 }`
269-
270214
### 3. Environment Variables
271215

272216
You can also configure **try-rs** using environment variables:
@@ -325,8 +269,6 @@ You can switch between themes at runtime by pressing `Ctrl+T`. The following the
325269
- **Matrix**
326270
- **Tron**
327271

328-
You can also define a custom theme in your `config.toml`.
329-
330272
## CLI Commands
331273

332274
You can also bypass the UI:

0 commit comments

Comments
 (0)