doronbehar/pistol

local chroma styles

Opened this issue · 1 comments

I automatically trigger a script when I change the my terminal's configuration. This way I can toggle a dark of light theme by exporting $PISTOL_CHROMA_STYLE.

However, I'd like to preview with the same colorscheme as in vim, and I'm unable to find a style that fits my criteria:

  • does not set background colors (e.g. text against semi-transparent terminal background)
  • has a readable dark and a light variant
  • was shared in other formats by users of other programs (vim and it's plugins in particular)

Nikyle Nguyen's papercolor-theme has been made available for a variety of programs. Should I try to add one to the styles over at the chroma/pygments repository, or could you adapt a mechanism for including a local file? This would make testing easier.

I think chroma's styles are compiled, which is probably a good reason why they are so fast:

https://github.com/alecthomas/chroma#styles

https://github.com/alecthomas/chroma/tree/master/styles