Dark mode with one CSS property

Every time I enter in dbdiagram.io I run this in the console:

document.querySelector('#chart').style.backgroundColor = '#212121'

You can see the result here IMHO looks way better than the default one, is nicer to the eye, matches perfectly with the default header and sidebar and makes the tables and relations visible at first glance.

I’m using Greasemonkey now so it runs automatically when I enter but when I share with people their eyes bleed :joy:


Hi @amatias,

Thank you for your suggestion !

Actually, we do have a plan for this. The dark mode will be coming soon ! Will keep you updated when it comes !