Skip to content

Fix diagram readability in dark mode#109

Draft
nirooxx wants to merge 1 commit intomainfrom
fix/dark-mode-diagram-background
Draft

Fix diagram readability in dark mode#109
nirooxx wants to merge 1 commit intomainfrom
fix/dark-mode-diagram-background

Conversation

@nirooxx
Copy link
Copy Markdown
Member

@nirooxx nirooxx commented Mar 30, 2026

Summary

Add a white background for diagrams and images in dark mode to improve readability on GitHub Pages.

Changes

  • use a neutral Mermaid theme in light and dark mode
  • add dark mode CSS override for Mermaid diagrams and markdown images

Result

Diagrams with dark text stay readable in dark mode with minimal styling changes.

@nirooxx nirooxx requested review from Fannon and pavelkornev March 30, 2026 15:39
@open-resource-discovery-bot
Copy link
Copy Markdown

PR Preview
🚀 View preview at:
https://open-resource-discovery.github.io/pr-preview/specification/pr-109/

Built to branch main at 2026-03-30 15:40 UTC.
open-resource-discovery/pr-preview-action

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.

2 participants