Semantic color intents. Call sites name what a piece of text means
(theme(state).error(...), theme(state).command(...)) rather than
which literal ANSI hue to use -- the theme decides the hue, per intent,
per active mode. This is the only file in frodo-lib allowed to reference
tinyrainbow directly (enforced by an ESLint rule), so no color choice
can leak in anywhere else.
Semantic color intents. Call sites name what a piece of text means (
theme(state).error(...),theme(state).command(...)) rather than which literal ANSI hue to use -- the theme decides the hue, per intent, per active mode. This is the only file in frodo-lib allowed to referencetinyrainbowdirectly (enforced by an ESLint rule), so no color choice can leak in anywhere else.