pub fn inline_text_style_to_ratatui(
color: Option<Color>,
bg_color: Option<Color>,
effects: Effects,
fallback: Option<Color>,
) -> StyleExpand description
Convert an InlineTextStyle to a ratatui::style::Style.
If the style has no foreground color, the fallback is used.
InlineTextStyle is from vtcode_commons::ui_protocol::InlineTextStyle.
We accept its fields individually here to avoid a direct dependency on the
type, keeping the coupling loose.