fsnotes icon indicating copy to clipboard operation
fsnotes copied to clipboard

Mermaid text is low contrast for Dark Mode

Open peteristhegreat opened this issue 4 years ago • 1 comments

Describe the bug Mermaid text doesn't respect Dark Mode when previewed.

To Reproduce Steps to reproduce the behavior:

  1. Switch to DarkMode
  2. See example 6. Mermaid ...
  3. Squint to try to read the light gray text on the slightly darker gray background.

Expected behavior Change the value of the light gray for mermaid rendering based on the background, or just go to white.

Actual behavior The grays stay the same as if the background was white.

Workaround Don't preview Mermaid in DarkMode.

Supporting Files image

Desktop (please complete the following information):

  • OS: macOS
  • OS version: 10.15.7
  • FSNotes version: 4.9.5 (454)

peteristhegreat avatar Feb 03 '21 17:02 peteristhegreat

This is also true for code inside of tables. See attached image. Adding here instead of opening a new issue since it is so similar.

dark mode code table

gabemaroz avatar Aug 19 '24 05:08 gabemaroz