Crate starbase_styles

Source

Re-exports§

pub use color::DarkColor;
pub use color::LightColor;
pub use color::Style;

Modules§

color
theme

Traits§

Stylize

Functions§

apply_style_tags
Apply styles to a string by replacing style specific tags. For example: <file>starbase.json</file>
parse_style_tags
Parses a string with HTML-like tags into a list of styled pieces. For example: <file>starbase.json</file>
parse_tags
Parses a string with HTML-like tags into a list of tagged pieces. For example: <file>starbase.json</file>
remove_style_tags
Remove style and tag specific markup from a string.