rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.3k stars 732 forks source link

Update GitHub theme, add dark mode #1918

Closed dunkmann00 closed 1 year ago

dunkmann00 commented 1 year ago

This updates the GitHub theme and also adds support for a dark mode.

The color values are sourced from the primer/primitives repository. https://github.com/primer/primitives

This resolves #1906

dunkmann00 commented 1 year ago

Hi @tancnle! Thanks for taking a look at this and for offering some suggestions about the background. I've gone ahead and added a background color to the text for both modes.

tancnle commented 1 year ago

Thanks, @dunkmann00. Look awesome! 🚀