Change code highlighting to Github styling

21 views
Skip to first unread message

Nando Breiter

unread,
Sep 16, 2014, 9:08:01 AM9/16/14
to octo...@googlegroups.com
How is it possible to change the background color of the code highlighting feature in Octopress to a light color? I'd like something similar to what Github uses, rather than the dark default.

Thanks,

Nando

Parker Moore

unread,
Sep 16, 2014, 6:46:43 PM9/16/14
to Nando Breiter, octo...@googlegroups.com
Yes, Brandon (@imathis) made this very easy if you're using the Classic theme.

In `sass/custom/_colors.scss`, uncomment `$solarized: light`. That will use the "light" theme for solarized instead of the default "dark" colorscheme.

Parker

--
You received this message because you are subscribed to the Google Groups "Octopress" group.
To unsubscribe from this group and stop receiving emails from it, send an email to octopress+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages