github dark diff

Added by gabriel@y@userstyles, Created: Jul 17, 2015, Updated: Mar 23, 2016
With the style applied


Version 1.9 - 2016-03-23

dark theme for seeing diffs on github. Only changes the code portions. Nothing else!

mostly started it out to improve the color used for comments, but got carried away. Simulated most of my vim colorscheme (or as much as github limited highlight allow for)

NOTE: github stopped using class and now add element styles directly to the highlighted line. so there is no way to change the yellow line! just click another line number and move the yellow to an empty line... damn you github

More info
1.9 add mouse hover highlight

1.8 add some new source classes

1.7 github changed html markup, now we require !important on some backgrounds. So i just splurged and added ! important to everything

1.6 fix missing function argument styles

1.5 fix char highlight of some regexp/var-in-string cases

1.4 blank lines show black instead of white.
apply to code in comments (e.g. when there is a line comment showing in discussion tab)

1.3 regexp and strings

1.2 selected line improvements (when you click on a line number).

1.1 font fix. edit the CSS and set your preferred font. i was setting it to mensch, but i removed it since almost nobody have that one.

You should to add comment and rate the style.


+ Create discussion

Applies to:
CC0 1.0 Universal.
gabriel@y@userstyles has waived all copyright and related or neighboring rights to github dark diff, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.