mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
* feat(theme): add a themeable scrollbar color for the item list The item-list scrollbar was the only rendered UI element without a ColorTheme entry. ratatui's Scrollbar defaults thumb_style to an empty Style, so the thumb merged nothing onto the cells it drew over and inherited their fg/bg — most visibly the current-line highlight, which the thumb adopted as the cursor scrolled past it. Add a `scrollbar` color to ColorTheme, parse it from `--color` (`scrollbar:<spec>`), default it per theme to the border color (the four catppuccin themes use their muted `overlay0` instead), and pass it as the Scrollbar thumb style. The thumb now reads as uniform chrome instead of tracking whatever row sits under it. The colorless `none` theme leaves it unset, so NO_COLOR still renders no thumb styling. Documented in the README color table and the manpage; covered by theme unit tests and @snap_color integration tests (default border color and a custom --color=scrollbar override, both over the highlighted current line). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * chore: generate-files & misc --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Loric ANDRE <loric.andre@pm.me> |
||
|---|---|---|
| .. | ||
| sk-tmux.1 | ||
| sk.1 | ||