I would like to have syntax highlighting that respects the
prefers-color-scheme of modern browsers. For example, for
prefers-colors-scheme: dark, I’d like to highlight with gruvbox-dark, but obviously use gruvbox-light for
Would such a feature be accepted? I don’t know enough about the current architecture of Zola to be able to just implement it, but I think we’d need to combine syntect classed html generation with style tags that we insert during rendering somehow.
I’m willing to implement such a feature, but will definitely need help.