mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-28 11:51:48 +00:00
Fix #8186
This commit is contained in:
parent
b50b3530e9
commit
51f08b7e45
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue