Open nealmckee opened 2 years ago
I think something's not quite right. I wanted to try on my vim but this was the result:
Thanks, looks like I messed up the background colour completely. I think this version should be better:
It should have the correct background colour now and uses a colour from the contrast++ palette as black, not sure how necessary that is. The exact colour for black is also debatable, could also potentially be a little less dark.
I did syntax on
and verified that colorscheme
was set to penumbra-dark, but this still happens. :(
I've tried creating a (Neo)Vim theme using base16 (https://github.com/RRethy/nvim-base16.git and the styling guides at https://chriskempson.com/projects/base16/). Some of the categories don't quite align well yet: https://gist.github.com/edwintorok/6bd1fc9b7f702d462c11c061c1c53732, and I'm not quite happy with the way comments look yet, but perhaps base16 would be an easier framework to use here? At least conceptually it maps nicely to the colors used here: 8 "shades" and 8 accent colors (although there is no "brown" colors, so I used "magenta" for the 8th color).
See also here for an attempt to automatically calculate a base16 palette: https://github.com/echasnovski/mini.nvim/blob/main/doc/mini.txt#L1124-L1156, although it is based on the much older CIELCh palette, and I quite like penumbra's approach better, but it shows how to map a similar scheme to base16.
I've got a work in progress theme for vim using the https://github.com/lifepillar/vim-colortemplate toolkit plugin.
@nealmckee Would you prefer a pull request, or just share the .vim file for review?
I've got a work in progress theme for vim using the https://github.com/lifepillar/vim-colortemplate toolkit plugin.
@nealmckee Would you prefer a pull request, or just share the .vim file for review?
Pls share your POC here. (I was about to develop the same thing, then found this thread.)
Here's the output vim file with the colorscheme:
And here's the template I used with vim-colortemplate to create it:
make sure you set colorscheme penumbra
in vimrc to enable
And here's a screeshot of how it should look
I get this error when using it with Vim 8.2
On version 9.0, it works, but the colors are strange…
Both are being done via puttty connection to different linux servers. Might be a limitation of the amount of terminal colors, so I'm not that much surprised.
Both are being done via puttty connection to different linux servers. Might be a limitation of the amount of terminal colors, so I'm not that much surprised.
I'm not surprised. There is a way for it to fall back for 8 color terms etc, but I didn't experiment with those. I'm guessing at the moment it works only with 256 and true colors.
Okay, so with 16 or 8 color this will use the terminal colors. So you'll need a penumbra terminal theme to look okay.
I've also updated the scheme to fallback better. It's not 100%, but 256 and true color should match.
I haven’t tested these on anything except my system, but I used https://github.com/arcticlimer/djanho some time ago to play with these colours and have found them quite pleasing overall, especially penumbradark++
.
Hi, if you use neovim, you can add this information "Neovim: yes" in penumbra.colortemplate, the t_Co should be correctly define in neovim.
I’ve attached a first draft for a vim theme based on rnb (zipped because github doesn’t allow the filetype), it would be awesome if someone could test drive it before I add it to the main repository. The main issue is that rnb asks for regular and dark colours so I wasn’t sure which ones are the normally used ones. Therefore please compare what you see with the sample images in the readme (ideally also by posting screenshots).
I’ve also found this tool https://vimcolors.org/ which only takes one type of colour per hue.
To get light/dark colours I need to use those from the regular and the contrast++ version, so another open question would be whether to just do one theme or with different levels of background contrast.
A light version is sadly impossible if two colours are needed per hue.
I’d also love feedback on how good the rnb defaults are in terms of distributing the colours.
removed, see current version at the bottom
Originally posted by @nealmckee in https://github.com/nealmckee/penumbra/issues/4#issuecomment-1208447919