MightyCreak / diffuse

Diffuse is a graphical tool for comparing and merging text files. It can retrieve files for comparison from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories.
http://mightycreak.github.io/diffuse/
GNU General Public License v2.0
260 stars 45 forks source link

Support for color themes #100

Open AJenbo opened 2 years ago

AJenbo commented 2 years ago

Currently the white default theme sticks out a bit if you are using a dark theme for you OS:

image

Any ideas for how this should be implemented?

MightyCreak commented 2 years ago

Right now, Diffuse only has "one" theme. In fact the colors are in the syntax configuration files here: https://github.com/MightyCreak/diffuse/tree/master/data/usr/share/diffuse/syntax

To allow dark mode (and basically having multiple themes), we would need to change the code and find a clever way to support different themes that would also work with the various syntaxes.

I don't have it all figured out right now, but contributions are always welcome and I can help architecture this feature.

maharvey commented 8 months ago

I already implemented this for the old version of Diffuse, but was unable to contribute it to the old repo because it was apparently unmaintained. I will look into updating my patches to work with the current version.