Skip to content

fix: make docs code blocks readable in both dark and light themes#5

Merged
sebastianmaniak merged 1 commit intomainfrom
fix/docs-code-block-readability
Mar 23, 2026
Merged

fix: make docs code blocks readable in both dark and light themes#5
sebastianmaniak merged 1 commit intomainfrom
fix/docs-code-block-readability

Conversation

@sebastianmaniak
Copy link
Copy Markdown
Collaborator

Hugo's default inline syntax highlighting styles conflicted with the site's CSS theme variables, causing black text on a dark background. Switch Hugo to CSS-class-based highlighting and add Chroma token styles for both dark (monokai) and light (github) themes.

Hugo's default inline syntax highlighting styles conflicted with the
site's CSS theme variables, causing black text on a dark background.
Switch Hugo to CSS-class-based highlighting and add Chroma token styles
for both dark (monokai) and light (github) themes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sebastianmaniak sebastianmaniak merged commit 431ce89 into main Mar 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant