Crate moon_common

Crate moon_common 

Source

Modules§

color
consts
path
theme

Macros§

cacheable
cacheable_enum

Structs§

Id
A compact string identifier for use within records, key lookups, and more. Supports unicode alphanumeric characters, forward slash /, period ., underscore _, and dash -. A leading @ is supported to support npm package names.
IdError

Enums§

LightColor
ANSI colors for a light theme.
Style
Types of colors based on state and usage.

Traits§

IdExt
Stylize

Functions§

apply_style_tags
Apply styles to a string by replacing style specific tags. For example: <file>starbase.json</file>
is_ci
is_docker
is_formatted_output
is_test_env
is_wsl
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.

Type Aliases§

DarkColor
ANSI colors for a dark theme.