We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85dfbb commit 6694058Copy full SHA for 6694058
devdocs_desktop.py
@@ -124,7 +124,8 @@ def file_path(self, filepath):
124
return os.path.join(root, filepath)
125
126
def toggle_theme_variation(self):
127
- dark_site = bool(self.options.get('dark', False))
+ site_theme = self.options.get('theme', 'light')
128
+ dark_site = bool(self.options.get('dark', site_theme == 'dark'))
129
dark_theme = self.globals.get_property('gtk-application-prefer-dark-theme')
130
131
if dark_site != dark_theme:
0 commit comments