StylishThemes / GitHub-Dark

:octocat: Dark GitHub style
https://raw.githubusercontent.com/StylishThemes/GitHub-Dark/master/github-dark.user.css
BSD 2-Clause "Simplified" License
9.67k stars 655 forks source link

Chaos Syntax highlighting theme is broken at code-sections #229

Closed RoestVrijStaal closed 9 years ago

RoestVrijStaal commented 9 years ago

Please take a look at this screenshot using Chaos: github dark - chaos style is broken at code section

As you could see, the bg colour of the code sections is white. Unfortunately I can't fix it by my own because the styling-section is obfuscated.

The code section reads fine in other themes, but I want to stick on Chaos because better colours. So it would be nice if you could fix it.

Mottie commented 9 years ago

Hi @RoestVrijStaal!

I am not seeing the white background in the code blocks of the contributing.md page as shown in the screenshot. Is the most up-to-date version of the style being used?

https://userstyles.org/styles/37035/github-dark

And yes, I did test the Chaos syntax highlighting theme.

RoestVrijStaal commented 9 years ago

True, I use the latest version v1.12.5 (4/23/2015).

Mottie commented 9 years ago

So, the problem is fixed? Or not fixed? Can I close this issue?

RoestVrijStaal commented 9 years ago

Unfortunately no, I used the latest version in the beginning of posting this issue.

In the mean time I made a workaround stylesheet for myself, feel free to use it: http://ideone.com/EEVMxs

silverwind commented 9 years ago

This is the offending style in GH's stylesheet:

.markdown-body .highlight pre, .markdown-body pre {
    background-color: #F7F7F7;
}
silverwind commented 9 years ago

I think the chaos theme (and possibly others are just missing !important):

/*! Chaos */
.highlight, .ace_editor {
  background-color: #161616;
  color: #E6E1DC;
}
silverwind commented 9 years ago

Chaos was the only theme missing !important in themes/src.