mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:15:55 +00:00
implement automatic night mode detection using MQL
add separate light.css to force light theme remove manual night mode toggle and related code
This commit is contained in:
@@ -513,9 +513,6 @@ require(["dojo/_base/kernel",
|
||||
Headlines.renderAgain();
|
||||
});
|
||||
};
|
||||
this.hotkey_actions["toggle_night_mode"] = function () {
|
||||
App.toggleNightMode();
|
||||
};
|
||||
},
|
||||
onActionSelected: function(opid) {
|
||||
switch (opid) {
|
||||
@@ -581,9 +578,6 @@ require(["dojo/_base/kernel",
|
||||
alert(__("Widescreen is not available in combined mode."));
|
||||
}
|
||||
break;
|
||||
case "qmcToggleNightMode":
|
||||
App.toggleNightMode();
|
||||
break;
|
||||
case "qmcHKhelp":
|
||||
App.helpDialog("main");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user