Files
owlen/themes/material-light.toml
vikingowl 55e6b0583d feat(ui): add configurable role label display and syntax highlighting support
- 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.
2025-10-12 16:44:53 +02:00

31 lines
820 B
TOML

name = "material-light"
text = "#212121"
background = "#eceff1"
focused_panel_border = "#009688"
unfocused_panel_border = "#b0bec5"
user_message_role = "#448aff"
assistant_message_role = "#7c4dff"
tool_output = "#90a4ae"
thinking_panel_title = "#f57c00"
command_bar_background = "#ffffff"
status_background = "#ffffff"
mode_normal = "#448aff"
mode_editing = "#388e3c"
mode_model_selection = "#f57c00"
mode_provider_selection = "#009688"
mode_help = "#7c4dff"
mode_visual = "#d32f2f"
mode_command = "#f57c00"
selection_bg = "#b0bec5"
selection_fg = "#212121"
cursor = "#c2185b"
code_block_background = "#f8f9fa"
code_block_border = "#009688"
code_block_text = "#212121"
code_block_keyword = "#f57c00"
code_block_string = "#388e3c"
code_block_comment = "#90a4ae"
placeholder = "#90a4ae"
error = "#d32f2f"
info = "#388e3c"