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

Switching light/dark modes doesn't update font color in the graph visualisation #4

Open
kalmir opened this issue Feb 26, 2021 · 0 comments
Labels
bug Something isn't working graph-view rendering

Comments

@kalmir
Copy link

kalmir commented Feb 26, 2021

Describe the bug
After loading the page, if you switch from light to dark mode, and then open the graph viz, node names are not readable as they carry font color from the original mode.

However, if you re-load the page, it starts in your target, already-switched mode, then the graph looks as it should. So reload is needed to make it work as expected.

To Reproduce

  1. Load the garden.
  2. Switch light/dark mode.
  3. Open graph viz via the icon (top right by default).
  4. See error.

Expected behavior
Font color of node names should change too after switching the color mode, so you don't end up reading dark-colored text on dark-colored background in the graph (or light on light).

Screenshots
image

Desktop (please complete the following information):

  • OS: Win, MacOS
  • Browser: multiple, in all I tried
@kalmir kalmir added the bug Something isn't working label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graph-view rendering
Projects
None yet
Development

No branches or pull requests

2 participants