Skip to content

Mermaid doesn't apply dark theme when using github dark mode #12116

Discussion options

You must be logged in to vote

It looks like this was caused by the Dark Reader chrome extension. When enabled, even if i have the dark github theme selected in my github settings, it will render the Mermaid charts with their light theme. I had to disable Dark Reader specifically for GitHub and then refresh the page to solve the issue.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@gaknoll
Comment options

Comment options

You must be logged in to vote
1 reply
@gaknoll
Comment options

Answer selected by nathan-fiscaletti
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Making GitHub useable for members of the disability community Mermaid General
4 participants