jasonhulbert / jetbrains-trash-panda-theme

A theme for raccoons and other creatures of the night
63 stars 14 forks source link

Added vim color scheme #29

Open Charlie-McLovins opened 1 year ago

Charlie-McLovins commented 1 year ago

Created a theme for vim. Is currently a semi-faithful one for one copy of the original to vim with minor changes made for new elements and elements which cannot be themed in the same way they are in Jetbrains IDEs. Added examples of the theme with syntax highlighting in both a full color GUI and a terminal with a 256 color space. Changed README.md to reflect steps needed to use with vim. Theme currently works with full color terminals. As well as terminals limited to a 256, 16, 8, or 0 color space.

Due to the lack of colors available in reduced color spaces, the colors used in the 256 color theme do not perfectly reflect the colors of the original theme. However the general feel of the original was kept as much as possible. The inclusion of a 16, 8, and 0 color theme was done to ensure compatibility with most terminals.

jasonhulbert commented 1 year ago

Nice - thanks @Charlie-McLovins !

I think we'll want to include the vim theme generation in the theme.py script which produces the theme files based on templates/variables. This will also allow us to easily produce a vim theme for each of the theme variants (default, moonlight, high-contrast and light).

Let's extract the vim-friendly colors into a yaml file like those that currently exist in src/data/*.yaml - and create a template for the vim config. Then we can add/update the theme generation logic in theme.py.

Charlie-McLovins commented 1 year ago

@jasonhulbert there are additional files needed to get a theme working in neovim so I just created a folder in src/main/resources to hold them since they should be mostly static. Can theoretically combine them all into one file if you'd prefer. Just let me know if you have a preference and I can change things accordingly.

Charlie-McLovins commented 1 year ago

Moved my working branch from master to main and forgot that deleting a branch kills all its associated pull requests