Fixed dark and light themes, ui.theme auto/dark/light
Colors no longer come from the terminal's palette, whose color 0 many color themes set to a grey that is not their background. A theme sets tview's default styles and the color names used in texts, all chosen from entries 16-255 of the 256-color table so terminals without 24-bit color show them exactly. "auto" picks light or dark from the background color the terminal reports. Settable in the Config view, applied at the next start (widgets copy their colors when created). Replaces using the terminal's own background and text colors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019reK4DUGYqDUjniWYJvwUW
This commit is contained in:
@@ -28,15 +28,19 @@ A terminal UI to search for movies and series with [Radarr](https://radarr.video
|
||||
- **Downloads**: SABnzbd queue and history plus the Radarr/Sonarr queues. Pause/resume, delete,
|
||||
retry failed downloads, remove from the arr queue and blocklist.
|
||||
- **Config (F6)**: edit everything in the config file from inside the program, in one list you move
|
||||
through with the arrow keys: service addresses and API keys, the add-form defaults, refresh interval, posters, notifications. *Test*
|
||||
through with the arrow keys: service addresses and API keys, the add-form defaults, refresh interval, posters, theme, notifications. *Test*
|
||||
checks the values you typed before saving; *Save* writes the file (permissions kept, `0600` for a
|
||||
new file) and applies the changes at once, no restart. Values that come from `ARR_TUI_*`
|
||||
new file) and applies the changes at once (the theme at the next start). Values that come from `ARR_TUI_*`
|
||||
environment variables are greyed out and are never written to the file.
|
||||
- **Log (F7)**: actions report through popups that fade away; the log keeps the history.
|
||||
- **Download notifications**: a popup (and a log entry) when a SABnzbd download finishes or fails,
|
||||
whichever view is open. SABnzbd's history is checked every 15 seconds; downloads that finished
|
||||
before arr-tui started are not announced. `"ui": {"notify_downloads": false}` turns it off,
|
||||
`"bell": true` also rings the terminal bell.
|
||||
- **Themes**: fixed dark and light color sets that look the same in every terminal, whatever its
|
||||
color theme. `"ui": {"theme": ...}` is `auto` (default: light when the terminal reports a light
|
||||
background, else dark), `dark` or `light`; it can also be set in the Config view and applies at the
|
||||
next start.
|
||||
- Connection indicators for all three services in the top right; `F9` shows every key.
|
||||
|
||||
Requires Radarr/Sonarr v3+ API (Radarr 5/6, Sonarr 4) and SABnzbd 4+. Only Usenet releases are
|
||||
@@ -61,7 +65,7 @@ Settings → General.
|
||||
"radarr": { "url": "http://localhost:7878", "apikey": "...", "default_quality_profile": "HD-1080p", "default_root_folder": "/movies" },
|
||||
"sonarr": { "url": "http://localhost:8989", "apikey": "...", "default_quality_profile": "HD-1080p", "default_root_folder": "/tv" },
|
||||
"sabnzbd": { "url": "http://localhost:8080", "apikey": "..." },
|
||||
"ui": { "refresh_seconds": 3, "covers": true, "cover_style": "auto", "notify_downloads": true, "bell": false }
|
||||
"ui": { "refresh_seconds": 3, "covers": true, "cover_style": "auto", "theme": "auto", "notify_downloads": true, "bell": false }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user