Firefox for iOS has a night mode to invert webpages to a dark theme.
Enable Night Mode
At the bottom of the screen, tap the menu button (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.