mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-03 19:28:29 +00:00
Change default value for the dark-mode preference to ""
Changed the default value for the preference `dark-mode` from "light" to "", to reflect the fact that `dark-mode` is tri-state and that the default (no preference set) may be the dark theme (depending on `prefers-color-scheme`).
This commit is contained in:
parent
23f01c451b
commit
4b75528fd0
@ -1,4 +1,4 @@
|
||||
var toggle_theme = document.getElementById('toggle_theme')
|
||||
var toggle_theme = document.getElementById('toggle_theme');
|
||||
toggle_theme.href = 'javascript:void(0);';
|
||||
|
||||
toggle_theme.addEventListener('click', function () {
|
||||
|
@ -134,7 +134,7 @@ struct ConfigPreferences
|
||||
comments: {type: Array(String), default: ["youtube", ""], converter: StringToArray},
|
||||
continue: {type: Bool, default: false},
|
||||
continue_autoplay: {type: Bool, default: true},
|
||||
dark_mode: {type: String, default: "light", converter: BoolToString},
|
||||
dark_mode: {type: String, default: "", converter: BoolToString},
|
||||
latest_only: {type: Bool, default: false},
|
||||
listen: {type: Bool, default: false},
|
||||
local: {type: Bool, default: false},
|
||||
|
Loading…
Reference in New Issue
Block a user