Justoverclock i think you need to install this extension https://discuss.flarum.org/d/21492-friendsofflarum-night-mode