Added user theme preference option in Settings

Added an option to choose theme in settings dialog like auto, light and dark.
Fixed Dark Mode Dark Text.
This commit is contained in:
SIDDHANT DIXIT 2021-07-19 18:27:02 +05:30
parent 76e7880702
commit 3cbe55916b
5 changed files with 45 additions and 4 deletions

View file

@ -110,6 +110,7 @@ class Settings(object):
"tor_bridges_use_custom_bridges": "",
"persistent_tabs": [],
"locale": None, # this gets defined in fill_in_defaults()
"theme": 0
}
self._settings = {}
self.fill_in_defaults()