lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
205 stars 97 forks source link

Remove hardcoded colors from code blocks #87

Closed eyegog closed 1 year ago

eyegog commented 1 year ago

I've encountered some of these issues in my own blog where code blocks do not adhere to the color defined in code-color. Removing the color from poison.css did the trick for me.

before: before

After after

A live example of the issue is here: https://eyegog.co.uk/posts/a-sad-slow-pppoe-story/

lukeorth commented 1 year ago

Thank you, @eyegog -- I like it!