dracula / vim

🧛🏻‍♂️ Dark theme for Vim

Home Page:https://draculatheme.com/vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the diff mode color

etorth opened this issue · comments

image

Everything looks good but the diff mode may need more contrast.
Not only the font color, if we can change the background color it's better.

Can you clarify where you want to see more contrast?

If we change the background color everywhere it's hard to identify word diffs (the background highlight in your screenshot shows where only part of a line changed, which is nice).

I suppose we could consider changing the background in a different way for the non-word diffs. Suggestions?

image

I mean something like this, although this one has a bad palette.
The diff lines needs high-contrast background color to those unchanged lines.
For people working on file diffs this is very helpful, because we just (need to) ignore all unchanged lines.
A partially changed line can still be highlighted, as in this example.

In this example I hate the write font in bright purple which make things worse.

I'm happy to add such a feature, but I don't have the time (or the eyeball, probably) to come up with the right colors.

If you look in :help dracula, there are some useful instructions for customizing the theme (you could also edit the sources). Perhaps you could try some different colors and find an approach that works for you? Then we can discuss a concrete proposal and refine it.

@dsifford if we added a high-contrast diff coloring, would you want that behind a feature flag or to just become the diff coloring? I can see how it would be useful, but I'm not 100% sure about changing the default.

I think in order to add this without a flag we'd need to have a bunch of people asking for it.

I'd say, to start off, it might be a good idea for @etorth to get a setup that they like working locally in their own config and then pitch the idea here with actual suggested changes in a PR that can be iterated on.