- Introduce `RoleLabelDisplay` enum (inline, above, none) and integrate it into UI rendering and message formatting. - Replace `show_role_labels` boolean with `role_label_mode` across config, formatter, session, and TUI components. - Add `syntax_highlighting` boolean to UI settings with default `false` and support in message rendering. - Update configuration schema version to 1.3.0 and provide deserialization handling for legacy boolean values. - Extend theme definitions with code block styling fields (background, border, text, keyword, string, comment) and default values in `Theme`. - Adjust related modules (`formatting.rs`, `ui.rs`, `session.rs`, `chat_app.rs`) to use the new settings and theme fields.
31 lines
767 B
TOML
31 lines
767 B
TOML
name = "ansi_basic"
|
|
text = "white"
|
|
background = "black"
|
|
focused_panel_border = "cyan"
|
|
unfocused_panel_border = "darkgray"
|
|
user_message_role = "cyan"
|
|
assistant_message_role = "yellow"
|
|
tool_output = "white"
|
|
thinking_panel_title = "magenta"
|
|
command_bar_background = "black"
|
|
status_background = "black"
|
|
mode_normal = "green"
|
|
mode_editing = "yellow"
|
|
mode_model_selection = "cyan"
|
|
mode_provider_selection = "magenta"
|
|
mode_help = "white"
|
|
mode_visual = "blue"
|
|
mode_command = "yellow"
|
|
selection_bg = "blue"
|
|
selection_fg = "white"
|
|
cursor = "white"
|
|
code_block_background = "black"
|
|
code_block_border = "cyan"
|
|
code_block_text = "white"
|
|
code_block_keyword = "yellow"
|
|
code_block_string = "green"
|
|
code_block_comment = "darkgray"
|
|
placeholder = "darkgray"
|
|
error = "red"
|
|
info = "green"
|