Files
owlen/themes/dracula.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
813 B
TOML

name = "dracula"
text = "#f8f8f2"
background = "#282a36"
focused_panel_border = "#ff79c6"
unfocused_panel_border = "#44475a"
user_message_role = "#8be9fd"
assistant_message_role = "#ff79c6"
tool_output = "#6272a4"
thinking_panel_title = "#bd93f9"
command_bar_background = "#44475a"
status_background = "#44475a"
mode_normal = "#8be9fd"
mode_editing = "#50fa7b"
mode_model_selection = "#f1fa8c"
mode_provider_selection = "#8be9fd"
mode_help = "#bd93f9"
mode_visual = "#ff79c6"
mode_command = "#f1fa8c"
selection_bg = "#44475a"
selection_fg = "#f8f8f2"
cursor = "#ff79c6"
code_block_background = "#44475a"
code_block_border = "#bd93f9"
code_block_text = "#f8f8f2"
code_block_keyword = "#ff79c6"
code_block_string = "#50fa7b"
code_block_comment = "#6272a4"
placeholder = "#6272a4"
error = "#ff5555"
info = "#50fa7b"