Expand description
Unified style bridging between anstyle and ratatui.
Converts anstyle::Style and InlineTextStyle to ratatui::style::Style,
using the correct color mapping from crate::color.
Functionsยง
- anstyle_
to_ ratatui_ style - Convert an
anstyle::Styledirectly to aratatui::style::Style. - bg_
style - Create a
ratatui::Stylewith a background color. - colored_
with_ effects - Create a
ratatui::Stylewith foreground color and effects. - effects_
to_ modifiers - Convert
anstyle::Effectstoratatui::style::Modifier. - fg_
bg_ style - Create a
ratatui::Stylewith foreground and background colors. - fg_
style - Create a
ratatui::Stylewith a foreground color. - inline_
text_ style_ to_ ratatui - Convert an
InlineTextStyleto aratatui::style::Style. - with_
effects - Create a
ratatui::Stylewith effects/modifiers.