Skip to content

Override the default chroma highlight background color for dark mode.

Adds a chroma-highlight css variable that uses the existing value for light mode but a new value for dark mode that is more tuned for Solarized dark.

Fixes #144 (closed)

--

Either colour schemes don't really meet WCAG contrast standards, but this at least makes it a little easier on the eyes. I recommend looking into a more contrast friendly theme for hugo's syntax highlighting.

Another fun discovery (thanks to redstrate for tracking the commit down): this repo uses a base theme that's pinned at websites/aether-sass@7de82cce and the use of hugo-kde is seemingly blocked by the Bootstrap 5 upgrade. So instead of adjusting the base theme I've adjusted the value in this repo.

Screenshot:

image

Merge request reports

Loading