Expand description
Re-exports from vtcode-commons for backward compatibility.
Structs§
- Color
Palette - Standard color palette with semantic names
- Diff
Color Palette - Diff color palette for consistent git diff styling Uses standard ANSI colors without bold for accessibility and consistency.
Enums§
- Diff
Color Level - Terminal color capability level for palette selection.
- Diff
Theme - Terminal background theme for diff rendering.
Functions§
- bold_
color - Create a bold colored style from AnsiColor
- diff_
add_ bg - Get background color for addition lines based on theme and color level.
- diff_
del_ bg - Get background color for deletion lines based on theme and color level.
- diff_
gutter_ bg_ add_ light - Get gutter background color for addition lines in light theme.
- diff_
gutter_ bg_ del_ light - Get gutter background color for deletion lines in light theme.
- diff_
gutter_ fg_ light - Get gutter foreground color for light theme (dark theme uses dimmed default).
- dimmed_
color - Create a dimmed colored style from AnsiColor
- render_
styled - Render text with a single color and optional effects
- style_
from_ color_ name - Build style from CSS/terminal color name