Skip to main content

Module resolve

Module resolve 

Source
Expand description

Bridge between tau_themes and tau_cli_term_raw types.

Converts theme styles into terminal-renderable styles.

Functionsยง

convert_color
Converts a theme tau_themes::Color to a terminal tau_cli_term_raw::Color.
convert_style
Converts a ThemeStyle into a terminal Style.
resolve
Resolves a style name through a theme into a terminal Style.
themed_block
Creates a StyledBlock using a theme style.
themed_text
Resolves themed text into terminal styled text.