10

screenshot of my settings, showing UI is dark-mode, and dark-mode is chosen:

settings ui

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.

css browser example

Also, you can see that the browser does recognize a preferred color scheme, and it is explicitly set to "light".

1 Answer 1

11

Chrome has an open discussion about it: chrome issue. Electron —VScode uses, had similar issue but fixed now: electron issue. For VSCode and Firefox your issue may based upon versions. Updating may resolve it.

2
  • 1
    thanks! confirmed firefox is working, thanks for the link about chrome
    – quinn
    Nov 28, 2021 at 21:16
  • welcome! I was banging my head against wall while trying to understand for hours why my firefox respecting and chrome not my gtk theme :) Nov 29, 2021 at 11:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .