News for hackers. Stuff that matters.
Re:Dark mode in a website with CSS by Y-bar on Tuesday October 08, 2019 @03:33PM (#21196218)
I’m probably not representative of the general dark mode user, I think, but I enable dark mode because I want the UI chrome out of the way to concentrate on the content. I don’t want dark content. Is there a way to disable this media query?
Re:Dark mode in a website with CSS by zamadatix on Tuesday October 08, 2019 @04:32PM (#21196903)
In Firefox you can add "ui.systemUsesDarkTheme" as an integer in about:config and set it to "0" for forced light or "1" for forced dark. This setting changes what is reported by the media query, you can still set your OS and/or browser theme independently. You will need to restart Firefox to apply the setting.
Re:Dark mode in a website with CSS by OJFord on Tuesday October 08, 2019 @05:13PM (#21197341)
Ditto. Duckduckgo seems to have added support, but has a preference to keep it light. I enabled light (despite system dark for reason above) but it means any new tab search flashes dark for a fraction of a second, before it reads the lightness preference cookie or whatever.
Re:Dark mode in a website with CSS by saagarjha on Tuesday October 08, 2019 @10:45PM (#21199502)
Annoyingly, DuckDuckGo doesn't let me set an adaptive theme if I change the font settings, plus they don't have an easy way to contact them either…
Re:Dark mode in a website with CSS by degenerate on Tuesday October 08, 2019 @04:33PM (#21196927)
If you just want chrome to be dark, you can install a dark theme such as: https://chrome.google.com/webstore/detail/just-black/aghfnjk...
Re:Dark mode in a website with CSS by Y-bar on Tuesday October 08, 2019 @05:10PM (#21197306)
I think you misread

> UI chrome

Versus

> Chrome UI

Re:Dark mode in a website with CSS by rrix2 on Tuesday October 08, 2019 @08:27PM (#21198737)
"UI chrome" refers to the browser UI itself -- everything that is not the web content. what are you referring to?
Re:Dark mode in a website with CSS by agret on Tuesday October 08, 2019 @08:59PM (#21198942)
In the case of the Chrome web browser the Chrome UI is the UI Chrome though? What other UI elements are there not included in the dark theme?