Expand description
Utilities for working with anstyle types and bridging to ratatui
Functionsยง
- ansi_
color_ to_ ratatui_ color - Convert anstyle Color to ratatui Color directly
- ansi_
effects_ to_ ratatui_ modifiers - Convert anstyle Effects to ratatui Modifiers
- ansi_
style_ to_ ratatui_ style - Convert an style directly to a ratatui Style using manual mapping
- anstyle_
to_ ratatui - Convert an anstyle Style to a ratatui Style using anstyle-crossterm as a bridge
- bg_
color - Create a ratatui Style with a background color from anstyle
- bg_
colored_ with_ effects - Create a ratatui Style with background color and effects
- build_
ratatui_ style - A convenience function that combines color, background, and effects into a single ratatui Style
- colored_
with_ effects - Create a ratatui Style with foreground color and effects
- fg_
bg_ colors - Create a ratatui Style with foreground and background colors
- fg_
color - Create a ratatui Style with a foreground color from anstyle
- full_
style - Create a complete ratatui Style from anstyle colors and effects
- with_
effects - Create a ratatui Style with effects/modifiers