mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Fix #8186
This commit is contained in:
@@ -109,13 +109,13 @@ class ThemeColors:
|
||||
self.applied_theme = which
|
||||
elif which == 'light' and self.has_light_theme:
|
||||
patch_options_with_color_spec(opts, self.light_spec, self.light_tbc)
|
||||
patch_global_colors(self.dark_spec, True)
|
||||
patch_global_colors(self.light_spec, True)
|
||||
if debug_rendering:
|
||||
log_error(f'Applied {which} color theme')
|
||||
self.applied_theme = which
|
||||
elif which == 'no_preference' and self.has_no_preference_theme:
|
||||
patch_options_with_color_spec(opts, self.no_preference_spec, self.no_preference_tbc)
|
||||
patch_global_colors(self.dark_spec, True)
|
||||
patch_global_colors(self.no_preference_spec, True)
|
||||
if debug_rendering:
|
||||
log_error(f'Applied {which} color theme')
|
||||
self.applied_theme = which
|
||||
|
||||
Reference in New Issue
Block a user