Chrome
Dark mode can be turned on using a command line switch:
$ chrome --enable-features=WebUIDarkMode --force-dark-mode
Firefox
- Go to “about:config”
- Enter “ui.systemUsesDarkTheme” into the search bar
- Click “Number” and then “+”
- Enter “1” and click the check mark
Right click on a free spot in the icon bar and select “customize”. At the bottom left of the screen, you can switch to a dark theme.
Note: If you’ve set privacy.resistFingerprinting to “true” the CSS dark mode switching won’t work. Kudus to @andinus@tilde.zone for figuring this out.
vim-browser (vimb)
Add the following line to $HOME/.config/vimb/config:
set dark-mode=true