- 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
799 B
TOML
31 lines
799 B
TOML
name = "default_light"
|
|
text = "black"
|
|
background = "white"
|
|
focused_panel_border = "#4a90e2"
|
|
unfocused_panel_border = "#dddddd"
|
|
user_message_role = "#0055a4"
|
|
assistant_message_role = "#8e44ad"
|
|
tool_output = "gray"
|
|
thinking_panel_title = "#8e44ad"
|
|
command_bar_background = "white"
|
|
status_background = "white"
|
|
mode_normal = "#0055a4"
|
|
mode_editing = "#2e8b57"
|
|
mode_model_selection = "#b58900"
|
|
mode_provider_selection = "#008b8b"
|
|
mode_help = "#8e44ad"
|
|
mode_visual = "#8e44ad"
|
|
mode_command = "#b58900"
|
|
selection_bg = "#a4c8f0"
|
|
selection_fg = "black"
|
|
cursor = "#d95f02"
|
|
code_block_background = "#f5f5f5"
|
|
code_block_border = "#009688"
|
|
code_block_text = "black"
|
|
code_block_keyword = "#b58900"
|
|
code_block_string = "#388e3c"
|
|
code_block_comment = "#90a4ae"
|
|
placeholder = "gray"
|
|
error = "#c0392b"
|
|
info = "green"
|