sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
48.6k stars 1.23k forks source link

Add PaperColor theme #3033

Open ThomasLamprecht opened 1 month ago

ThomasLamprecht commented 1 month ago

Not sure how the project stands w.r.t. adding new themes, but if you're open to do so then I'd be really pleased with seeing the PaperColor [0] theme getting added.

I and some coworkers use PaperColor as theme pretty much everywhere as it provides good readability and both a light and dark mode (I switch between them with sunrise and sunset, respectively).

[0]: PaperColor git repo https://github.com/NLKNguyen/papercolor-theme

keith-hall commented 1 month ago

Good question, thanks for bringing it up. I see in the readme we mention the policy for adding new syntaxes to be highlighted but the section immediately below it on themes doesn't say anything.

Likely because we don't often get requests for adding more themes by default. Probably most users whom want a custom theme just apply it for themselves as a one-time setup thing and move on. I'm not personally opposed to bundling new themes if they are high quality, popular, and different enough from the existing ones to merit inclusion. Provided it doesn't affect performance of course 🙂

It will need to be converted (a manual process I believe) into the TextMate format first though for bat to be able to use it, there is no way to use a vim theme directly. So that would be the place to start - then regardless of whether bat bundles it by default, you could still use it 🙂