I highly suggest the Dark Reader extension.
But I agree with other commentors, Dark Reader isn't the solution. There is not really an excuse for not doing a builtin darkmode nowadays, imo.
If you don't care about breaking design and stuff looking the way its supposed to, I guess the extension is fine but I rather use something like Stylus where you can use people's custom designed stylesheets for most known sites.