Skip to main content

Module style

Module style 

Source

Functionsยง

convert_style
Convert an anstyle::Style to an InlineTextStyle.
measure_text_width
ratatui_color_from_ansi
Convert anstyle Color to ratatui Color.
ratatui_pty_style_from_inline
PTY output style helper: keep configured color, suppress bold, enforce dimmed output.
ratatui_style_from_ansi
Convert an anstyle::Style directly to a ratatui::style::Style.
ratatui_style_from_inline
theme_from_color_fields
Build an InlineTheme from individual theme colour fields.
theme_from_styles