To write CSS and JS code, I use the code editor Nova. Its dark mode is acceptable but definitely not great:
Therefore I made my own theme, Sunset:
It is based on reddish hues, which are good at lowering eye-strain. Text is coloured differently than in dark mode, comments are indicated with italics.