screenshot of my settings, showing UI is dark-mode, and dark-mode is chosen:
Here is a simple code snippet showing that dark mode is not set in the browser. This example is from Chrome, but dark mode does not work in Firefox either. VS Code also does not register that I have picked dark mode ui.
Also, you can see that the browser does recognize a preferred color scheme, and it is explicitly set to "light".