Nuacht

The code just sets the dark-mode class on the HTML node inside the IFrame, if dark mode is enabled and when the editor is enabled. The rest is handled by the modified CSS and the already build-in ...
We rather fear that live syntax validation as you hand-code HTML is one answer to this, but on its own isn't sufficient. But we really wish it were – and we would be very happy to be wrong.