Crate tempera

Source
Expand description

Template based terminal coloring made really easy.

Re-exports§

pub use codes::CODES;

Structs§

CODES
A HashMap defining the list of builtin styles.

Enums§

ColorError
An error that occurred when parsing colors.
CustomStyleError
An error that occurred when adding a new custom style.

Functions§

add_style
Adds a new custom style.
clean_template
Removes all templates tags from the string.
colorize
Colorize a string using given styles.
colorize_template
Apply colors to a template tagged string.
delete_styles
Deletes one or more custom styles.
resolve_styles
Resolve all custom styles.