Files
owlen/themes/grayscale-high-contrast.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

44 lines
1.2 KiB
TOML

name = "grayscale_high_contrast"
text = "#f7f7f7"
background = "#000000"
focused_panel_border = "#ffffff"
unfocused_panel_border = "#4c4c4c"
user_message_role = "#f0f0f0"
assistant_message_role = "#d6d6d6"
tool_output = "#bdbdbd"
thinking_panel_title = "#e0e0e0"
command_bar_background = "#000000"
status_background = "#0f0f0f"
mode_normal = "#ffffff"
mode_editing = "#e6e6e6"
mode_model_selection = "#cccccc"
mode_provider_selection = "#b3b3b3"
mode_help = "#999999"
mode_visual = "#f2f2f2"
mode_command = "#d0d0d0"
selection_bg = "#f0f0f0"
selection_fg = "#000000"
cursor = "#ffffff"
code_block_background = "#0f0f0f"
code_block_border = "#ffffff"
code_block_text = "#f7f7f7"
code_block_keyword = "#cccccc"
code_block_string = "#d6d6d6"
code_block_comment = "#7a7a7a"
placeholder = "#7a7a7a"
error = "#ffffff"
info = "#c8c8c8"
agent_thought = "#e6e6e6"
agent_action = "#cccccc"
agent_action_input = "#b0b0b0"
agent_observation = "#999999"
agent_final_answer = "#ffffff"
agent_badge_running_fg = "#000000"
agent_badge_running_bg = "#f7f7f7"
agent_badge_idle_fg = "#000000"
agent_badge_idle_bg = "#bdbdbd"
operating_chat_fg = "#000000"
operating_chat_bg = "#f2f2f2"
operating_code_fg = "#000000"
operating_code_bg = "#bfbfbf"