rhazdon / hugo-theme-hello-friend-ng

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!
https://github.com/rhazdon/hugo-theme-hello-friend-ng/
Other
1.45k stars 764 forks source link

Code block colors are overriding PrismJS settings #417

Open kingthrillgore opened 1 year ago

kingthrillgore commented 1 year ago

I noticed this when editing my site today, but the highlighting rules that Prism is supposed to apply are getting overloaded and match the site colors. This isn't really what I was intending and I am wondering what behavior could be causing this.

To help with debugging, I've opened the repo, which can be accessed here. It's mostly stock except for a CSS overload that changes the body colors.

venatiodecorus commented 1 year ago

i'm also running into this. syntax highlighting was not working at all for solidity, and colors didn't look great in other snippets. i removed references to PrismJS from layouts/partial files and then I see my Pygment settings in config.toml are respected and snippets look much better. i believe i am on the latest version i just pulled my submodule. are there two syntax highlighters available? i'd rather not edit the theme directly if i can avoid it but currently this seems to be my only option to make highlighting look good.