Dark/Light class for Graph not working

Anybody who can explain this behavior when using DARK/LIGHT class inside Graph?

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

.theme-light .graph-view.color-line {
  color: green;
}

This is works for me. Is it possible that you have a CSS error before this?

It is pretty weird. I move lines just at the beginning, rewrite it not copyping and now it works. But there is this bug that graph will not update when switching theme color. < I think this was already announced.