Files
owlen/themes/material-dark.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
819 B
TOML

name = "material-dark"
text = "#eeffff"
background = "#263238"
focused_panel_border = "#80cbc4"
unfocused_panel_border = "#546e7a"
user_message_role = "#82aaff"
assistant_message_role = "#c792ea"
tool_output = "#546e7a"
thinking_panel_title = "#ffcb6b"
command_bar_background = "#212b30"
status_background = "#212b30"
mode_normal = "#82aaff"
mode_editing = "#c3e88d"
mode_model_selection = "#ffcb6b"
mode_provider_selection = "#80cbc4"
mode_help = "#c792ea"
mode_visual = "#f07178"
mode_command = "#ffcb6b"
selection_bg = "#546e7a"
selection_fg = "#eeffff"
cursor = "#ffcc00"
code_block_background = "#212b30"
code_block_border = "#80cbc4"
code_block_text = "#eeffff"
code_block_keyword = "#ffcb6b"
code_block_string = "#c3e88d"
code_block_comment = "#546e7a"
placeholder = "#546e7a"
error = "#f07178"
info = "#c3e88d"