Firefox for iOS has a night mode to invert webpages to a dark theme.
Enable Night Mode
Tap the menu button at the bottom of the screen (the menu will be at the top right if you're using an iPad):
- Tap to invert the webpage to a dark theme.
To set Firefox for iOS back to normal, repeat the above two steps.