Monday, October 26, 2020

Re: ANN: New colorscheme generator (and colorscheme)

On Mon, 26 Oct 2020 at 07:44, Felipe Contreras
<felipe.contreras@gmail.com> wrote:
> I have maintained my own colorscheme for about ten years, but when I
> decided to revamp it I thought of using a generator based on a
> template. The closest to my needs was estilo[1], but too gratuitously
> complicated in my view.
>
> Therefore I decided to create my own:
>
> https://github.com/felipec/vim-felipec
>
> The template is a straightforward YAML file:
> ----------------------------------------
> information:
> name: hello
> background: dark
> author: Me
>
> palette:
> fg: '#fff'
> bg: '#000'
>
> highlights:
> Normal: 'fg bg'
> ----------------------------------------

Hi Felipe,

That looks like a nice idea. Have you thought about including syntax
highlighting of the colour scheme YAML file (to show what the end
result will look like?). I did something similar a few years ago as I
was fed up with editing Vim colour schemes. My version is here:

https://www.cgtk.co.uk/vim-scripts/easycolour

and the source is here:

https://heptapod.host/cgtk/easycolour (there's a github mirror
somewhere I think as well).

It uses a very simple yaml-ish file that allows you to take an
existing colour scheme and tweak it - for example if you like the
"desert" colour scheme but would prefer green comments, you can have a
colour scheme that looks like this:

# My new colour scheme file
Basis:desert
Dark:
Comment:green

There's a screenshot of my (much more complicated) "bandit" colour
scheme loaded in Vim with the automatic self-highlighting shown here:
https://www.cgtk.co.uk/vim-scripts/easycolour/images/bandit_self_highlighting.png
- I find this self-highlighting makes it a lot easier to edit the
colour scheme and thought you might want to consider implementing
something similar.

Al

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOaJ26RgueTKwxBwg4_s5iWVvyWLNkuYL-iO%2BnRwr3ScbDe52w%40mail.gmail.com.

No comments:

Post a Comment