Theoretically, freecodecamp.org already has a night mode that can be enabled in the account settings, as someone pointed out for me in this thread.
However, it doesn’t work for me (it becomes disabled as soon as I navigate to another page), so I continued working on my own theme for Stylus, Stylish and similar userstyle managers.