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

Feedback for vim theme needed #6

Open
nealmckee opened this issue Aug 8, 2022 · 12 comments
Open

Feedback for vim theme needed #6

nealmckee opened this issue Aug 8, 2022 · 12 comments

Comments

@nealmckee
Copy link
Owner

nealmckee commented Aug 8, 2022

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 #4 (comment)

@Draiken
Copy link

Draiken commented Aug 9, 2022

I think something's not quite right. I wanted to try on my vim but this was the result:
DeepinScreenshot_20220809143506

@nealmckee
Copy link
Owner Author

nealmckee commented Aug 10, 2022

Thanks, looks like I messed up the background colour completely. I think this version should be better:

penumbra_dark.vim.zip

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.

@frosetrain
Copy link

image
I did syntax on and verified that colorscheme was set to penumbra-dark, but this still happens. :(

@edwintorok
Copy link

edwintorok commented Aug 14, 2022

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.

@mbulat
Copy link

mbulat commented Aug 26, 2022

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?

@adamm
Copy link

adamm commented Aug 29, 2022

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.)

@mbulat
Copy link

mbulat commented Aug 30, 2022

Here's the output vim file with the colorscheme:

penumbra.vim

And here's the template I used with vim-colortemplate to create it:

penumbra.colortemplate

make sure you set colorscheme penumbra in vimrc to enable

And here's a screeshot of how it should look

Screen Shot 2022-08-30 at 9 04 51 AM

@navara
Copy link

navara commented Sep 4, 2022

penumbra.vim

I get this error when using it with Vim 8.2

image

On version 9.0, it works, but the colors are strange…

image

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.

@mbulat
Copy link

mbulat commented Sep 4, 2022

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.

@mbulat
Copy link

mbulat commented Sep 6, 2022

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.

penumbra.vim

penumbra.colortemplate

@halostatue
Copy link

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++.

penumbra-vim.zip

@Ttw0626
Copy link

Ttw0626 commented Feb 6, 2024

Hi, if you use neovim, you can add this information "Neovim: yes" in penumbra.colortemplate, the t_Co should be correctly
define in neovim.

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

9 participants