webdiff
webdiff copied to clipboard
Customize diff colors
Is there a way to customize diff colors (green/red). I find the current used colors too "light" and would like them to be a bit darker.
They're currently hard-coded, but some sort of configuration file for settings like this would be a great addition. Would happily accept a PR. On Thu, May 18, 2017 at 3:15 PM Karandeep Singh Bhatia < [email protected]> wrote:
Is there a way to customize diff colors (green/red). I find the current used colors too "light" and would like them to be a bit darker.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danvk/webdiff/issues/120, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF__fctsw9DujrmVIdviSo-4kMuI1knks5r7MLugaJpZM4Nf3EW .
I looked at this for a while today. I figured out how to set a value in the configuration file and pass it on into the style tag in the html templates, but I can't seem to get my values to take effect. They are overridden by the values in codediff.css. And if I delete the appropriate rule from codediff.css my values put into the html template still don't apply.