Score:0

dark mode does not set prefers-color-scheme to dark

br flag

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".

Score:1
de flag

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.

br flag
thanks! confirmed firefox is working, thanks for the link about chrome
serhatteker avatar
de flag
welcome! I was banging my head against wall while trying to understand for hours why my firefox respecting and chrome not my gtk theme :)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.