When the system settings are set to Dark theme, there are weird issues with websites added to spaces through the Add a website function. The CSS styles for some of the items are being ignored sometimes, and obeyed at other times.
There are also other issues, as you can see with the placement and function of the dark/light theme switcher button. The "browser-version.png" file shows how it should show up and work.