Add light and dark to the macOS title bar option

This commit is contained in:
pagedown
2021-12-21 15:14:08 +08:00
parent 58b7fb41d9
commit 278477b387
11 changed files with 38 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ def main() -> None:
if opt.parser_func.__name__ in ('to_color_or_none', 'cursor_text_color'):
nullable_colors.append(opt.name)
all_colors.append(opt.name)
elif opt.parser_func.__name__ in ('to_color', 'macos_titlebar_color'):
elif opt.parser_func.__name__ in ('to_color', 'titlebar_color', 'macos_titlebar_color'):
all_colors.append(opt.name)
patch_color_list('kitty/rc/set_colors.py', nullable_colors, 'NULLABLE')
patch_color_list('kittens/themes/collection.py', all_colors, 'ALL', ' ' * 8)