Expand description
CLI output discipline for Vela.
The rules:
- Signal blue (#3B5BDB) is reserved for live state — the current step of a running audit or the active cursor. It is never used for success.
- State chips use a muted engraved palette derived from ink, not a traffic-light green/red: moss for ok, brass for contested, dust for stale, madder for lost.
·(middle dot) is the only decorative separator.- Banners are a dim tick row and a mono eyebrow, never
===or---. - All ANSI is gated on a TTY stdout and NO_COLOR being unset.
Every styled string in cli.rs should route through a helper here so the
discipline is enforced in one place.
Constants§
Functions§
- brass
- chip
- Engraved state chip:
· labelin the state color. Lowercase, mono-ish. - dim
- dust_
color - err_
prefix - An error prefix —
err ·in madder, lowercase. - header
- A header block: dim mono eyebrow, bold title, dim tick row.
- init
- Initialize styling. Call once near the CLI entry point.
- live
- Signal-blue chip — reserved for live state only.
- lost
- madder
- mono_
eyebrow - moss
- ok
- progress_
style - Progress-bar style for long-running work.
- signal
- stale
- tick_
row - A tick row — dim
·characters of a given visual width. - warn