Expand description
Unified message styles and their logical mappings
Structs§
- Color
Palette - Standard color palette with semantic names
- Diff
Color Palette - Diff color palette for consistent git diff styling
Enums§
- Diff
Color Level - Terminal color capability level for palette selection.
- Diff
Line Type - Diff line type for style selection.
- Diff
Theme - Terminal background theme for diff rendering.
Functions§
- add_
line_ bg - Background color for addition lines.
- bold_
color - Create a bold colored style from AnsiColor
- del_
line_ bg - Background color for deletion lines.
- dimmed_
color - Create a dimmed colored style from AnsiColor
- render_
styled - Render text with a single color and optional effects
- style_
content - Content style for plain (non-syntax-highlighted) diff lines.
- style_
from_ color_ name - Build style from CSS/terminal color name
- style_
gutter - Gutter (line number) style.
- style_
line_ bg - Full-width line background style. Context lines use terminal default.
- style_
sign - Sign character (
+/-) style.