Expand description
Utilities for working with anstyle types and bridging to ratatui.
Deprecated: Use vtcode_design::color and vtcode_design::style instead.
This module is retained for backward compatibility but will be removed in a
future version.
Functionsยง
- ansi_
color_ to_ ratatui_ color Deprecated - Convert anstyle Color to ratatui Color directly.
- ansi_
effects_ to_ ratatui_ modifiers Deprecated - Convert anstyle Effects to ratatui Modifiers.
- ansi_
style_ to_ ratatui_ style Deprecated - Convert an style directly to a ratatui Style using manual mapping.
- anstyle_
to_ ratatui Deprecated - Convert an anstyle Style to a ratatui Style using anstyle-crossterm as a bridge.
- bg_
color Deprecated - Create a ratatui Style with a background color from anstyle.
- bg_
colored_ with_ effects Deprecated - Create a ratatui Style with background color and effects.
- build_
ratatui_ style Deprecated - A convenience function that combines color, background, and effects into a single ratatui Style.
- colored_
with_ effects Deprecated - Create a ratatui Style with foreground color and effects.
- fg_
bg_ colors Deprecated - Create a ratatui Style with foreground and background colors.
- fg_
color Deprecated - Create a ratatui Style with a foreground color from anstyle.
- full_
style Deprecated - Create a complete ratatui Style from anstyle colors and effects.
- with_
effects Deprecated - Create a ratatui Style with effects/modifiers.