diff --git a/aider/args.py b/aider/args.py index 65ddba5d5..dd1ab0e33 100644 --- a/aider/args.py +++ b/aider/args.py @@ -290,6 +290,12 @@ def get_parser(default_config_files, git_root): help="Use colors suitable for a light terminal background (default: False)", default=False, ) + group.add_argument( + "--light-mode", + action="store_true", + help="Use colors suitable for a light terminal background (default: False)", + default=False, + ) group.add_argument( "--pretty", action=argparse.BooleanOptionalAction, @@ -315,7 +321,12 @@ def get_parser(default_config_files, git_root): group.add_argument( "--tool-error-color", default="#FF2222", - help="Set the color for tool error messages (default: red)", + help="Set the color for tool error messages (default: #FF2222)", + ) + group.add_argument( + "--tool-warning-color", + default="#FFA500", + help="Set the color for tool warning messages (default: #FFA500)", ) group.add_argument( "--assistant-output-color", diff --git a/aider/main.py b/aider/main.py index fa02e28ed..5df804647 100644 --- a/aider/main.py +++ b/aider/main.py @@ -368,12 +368,14 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F if args.dark_mode: args.user_input_color = "#32FF32" args.tool_error_color = "#FF3333" + args.tool_warning_color = "#FFFF00" args.assistant_output_color = "#00FFFF" args.code_theme = "monokai" if args.light_mode: args.user_input_color = "green" args.tool_error_color = "red" + args.tool_warning_color = "#FFA500" args.assistant_output_color = "blue" args.code_theme = "default"