Skip to main contentCrate starbase_styles
Source pub use color::DarkColor;pub use color::LightColor;pub use color::Style;
- color
- theme
- Stylize
- apply_style_tags
- Apply styles to a string by replacing style specific tags.
For example:
<file>starbase.json</file> - encode_style_tags
- Encode a string so that style tags are not replaced.
- 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.