Graph - Dark - Light mode

Steps to reproduce

  1. Add this code to your custom.css

    .theme-dark .graph-view.color-line {
    color: red;

    .theme-dark .graph-view.color-line {
    color: green;

Expected result

  1. I expected to see the lines green when in Dark-mode
  2. I expected to see the lines red when in Ligh-mode

Actual result

Screenshot 2020-09-03 at 09.43.16

Screenshot 2020-09-03 at 09.46.17


  • Operating system: Mac Os
  • Obsidian version: 0.8.9

Your code and you expectation do not match.
Anyway, for css problems it’s better to ask in chat or in help section first.

Of course I expect the dark/light should work it works everywhere. So what is the problem? So this is not an bug, but feature?

If I remove the


it the line color property works.