lotabout.skim/tests
Maximilian Roos bfec6e198d
feat(theme): add a themeable scrollbar color for the item list (#1101)
* 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>
2026-06-28 18:48:28 +02:00
..
common fix: refresh preview after mouse selection (#1095) 2026-06-26 00:36:07 +02:00
snapshots feat(theme): add a themeable scrollbar color for the item list (#1101) 2026-06-28 18:48:28 +02:00
ansi.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00
binds.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
case.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
cli.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00
defaults.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
highlighting.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00
issues.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
keys.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
keys_interactive.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
layout.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
listen.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00
matcher.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
mouse.rs fix: refresh preview after mouse selection (#1095) 2026-06-26 00:36:07 +02:00
multiline.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
normalize.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
options.rs feat(theme): add a themeable scrollbar color for the item list (#1101) 2026-06-28 18:48:28 +02:00
popup.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00
preview.rs chore: add image tests & examples 2026-06-17 13:56:37 +02:00
split_match.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
tiebreak.rs chore: crate-level lints 2026-05-21 18:19:40 +02:00
unix.rs tests: improve coverage to 90% (#1099) 2026-06-25 19:12:49 +00:00