mirror of https://github.com/gorhill/uBlock.git
Disable auto activation of dark theme in next release
Until a fully usable dark theme is available. uBO's incomplete dark theme can still be forced by setting advanced setting `uiTheme` to `dark`.
This commit is contained in:
parent
eb8433cb19
commit
56cd238ad4
|
@ -118,9 +118,10 @@ DOMListFactory.nodeFromSelector = function(selector) {
|
|||
if ( window.matchMedia('(min-resolution: 150dpi)').matches ) {
|
||||
root.classList.add('hidpi');
|
||||
}
|
||||
if ( window.matchMedia('(prefers-color-scheme: dark)').matches ) {
|
||||
root.classList.add('dark');
|
||||
}
|
||||
// TODO: re-enable once there is a fully functional dark theme
|
||||
//if ( window.matchMedia('(prefers-color-scheme: dark)').matches ) {
|
||||
// root.classList.add('dark');
|
||||
//}
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue