Skip to main content

Module style

Module style 

Source

Functionsยง

bold
Bold text.
color
256-color text.
dim
Dim text.
fail
Colored X (red).
human_duration
Format a duration in a human-readable way.
human_size
Format a byte size in a human-readable way.
init
Initialize style settings from global config. Call once at startup.
spinner
Create a space-themed cyan spinner with a message.
step
Colored arrow (cyan) for in-progress steps.
success
Colored checkmark (green).
warn
Warning triangle (yellow).