Need help? Check out our Support site, then


Dark theme for source code?

  1. Hey all,

    I'm starting up a blog related to my work as a developer and researcher and would like to be able to put up short snippets of code so that readers can follow along. My problem is that the default [sourcecode] shortcode causes code to be displayed as black text on a light background, where my theme is light on dark. To me, the latter is much more readable- is there a way to get that behavior out of it?

    Thanks!

    The blog I need help with is geremycondra.net.

  2. From a usability standpoint (readability) light text on a dark background is not recommended. Just sayin'

    You would have to have the CSS upgrade and some CSS experience to do this.

  3. To each their own. Having read text off of white-on-black terminals for many years I find it less tiring than staring into a light bulb for hours on end.

    Given that for the moment at least I'm my own most active reader, I'd like to fix this, and preferably without rewriting WP's syntax highlighting CSS. I take it that isn't an option?

  4. Sorry, but no it is not.

  5. Hmm. That's deeply annoying. Might have been a short trip into WP-land.

    Anyways, thanks for your help.

  6. You might run it past the theme team and see if they would come up with the CSS for a dark theme. They might put it on their agenda, and then perhaps they will not, but it is worth asking about.

  7. Hmm ok. Sorry for the stupid question, but how do I do that?

  8. Sorry, I forgot to include a link. http://en.support.wordpress.com/contact/ . I think support is closed right now, but on the contact page it will tell when they are going to be back from their walkabout.

Topic Closed

This topic has been closed to new replies.

About this Topic