Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--theme required for bat’s colours to be used #155

Closed
nisbet-hubbard opened this issue Aug 27, 2024 · 1 comment
Closed

--theme required for bat’s colours to be used #155

nisbet-hubbard opened this issue Aug 27, 2024 · 1 comment

Comments

@nisbet-hubbard
Copy link
Contributor

Currently, just exporting LESSCOLORIZER='bat' doesn’t cause bat’s default theme to be used. Only LESSCOLORIZER='bat --theme=default' would produce the same colours as bat does out of box.

@wofr06
Copy link
Owner

wofr06 commented Aug 27, 2024

This was done on purpose to have output with reasonable contrast for both dark and light background. The default theme looks good on dark background, but (at least for me) the default theme with light background does not produce readable output (some chars are printed white on white). The chosen ansi theme is a compromise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@wofr06 @nisbet-hubbard and others