Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code is hard to read in light mode #5001

Closed
nirname opened this issue Oct 31, 2023 · 2 comments
Closed

The code is hard to read in light mode #5001

nirname opened this issue Oct 31, 2023 · 2 comments
Labels
Area: Documentation Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@nirname
Copy link
Contributor

nirname commented Oct 31, 2023

Description

All the diagrams without syntax highlight in the light mode on the documentation pages are in grey color and hardly visible.

Steps to reproduce

  1. Go to https://mermaid.js.org/syntax/c4.html
  2. Have a look at the code block

More examples

https://mermaid.js.org/syntax/c4.html
https://mermaid.js.org/syntax/mindmap.html
https://mermaid.js.org/syntax/timeline.html
https://mermaid.js.org/syntax/zenuml.html
https://mermaid.js.org/syntax/sankey.html
https://mermaid.js.org/syntax/xyChart.html

Screenshots

image (24)

Code Sample

No response

Setup

  • Mermaid version 10.6.0
  • Browser and Version: Chrome

Suggested Solutions

Styling is broken on the documentation website

Additional Context

No response

@nirname nirname added Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc Area: Documentation labels Oct 31, 2023
@Yokozuna59
Copy link
Member

It should be resolved in #4998.

@huynhicode
Copy link
Member

Thanks for reporting @nirname and for referencing the open PR @Yokozuna59 .

A user had previously logged a similar issue 4971.

I am going to close this issue as it is a duplicate and there is a PR. Please reopen if needed - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants