Use bat with a light coloured background?
Hi!
Is there a way to negate the colours (so white is black, eg)? I use a bone white background for better contrast, and bat isn't really usable out of the box then. Perhaps there's a switch for it, but I didn't see one?
Thanks!
You can use a different theme: https://github.com/sharkdp/bat?tab=readme-ov-file#highlighting-theme. https://github.com/sharkdp/bat/pull/2896 has recently been merged which should improve theme selection by default.
For me the syntax highlighting is visible on white background, albeit higher contrast would improve it for sure. But with plain txt files I get white text on white background, which is pretty bad - it took me a while to realize bat was even working.
Using bat 0.24.0 (9cecc21-modified) installed with conda from conda-forge channel, on Manjaro GNOME (default shell is zsh, if that matters).
PS: ok never mind, updated to v0.25 and the problem is gone.
Ok weird, I've installed v0.25 on another machine and I've got the same issue again 🤔