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§
- Color
Error - An error that occurred when parsing colors.
- Custom
Style Error - 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.