Files
owlen/themes/midnight-ocean.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 = "midnight-ocean"
text = "#c0caf5"
background = "#0d1117"
focused_panel_border = "#58a6ff"
unfocused_panel_border = "#30363d"
user_message_role = "#79c0ff"
assistant_message_role = "#89ddff"
tool_output = "#546e7a"
thinking_panel_title = "#9ece6a"
command_bar_background = "#161b22"
status_background = "#161b22"
mode_normal = "#79c0ff"
mode_editing = "#9ece6a"
mode_model_selection = "#ffd43b"
mode_provider_selection = "#89ddff"
mode_help = "#ff739d"
mode_visual = "#f68cf5"
mode_command = "#ffd43b"
selection_bg = "#388bfd"
selection_fg = "#0d1117"
cursor = "#f68cf5"
code_block_background = "#161b22"
code_block_border = "#58a6ff"
code_block_text = "#c0caf5"
code_block_keyword = "#ffd43b"
code_block_string = "#9ece6a"
code_block_comment = "#6e7681"
placeholder = "#6e7681"
error = "#f85149"
info = "#9ece6a"