Skip to content

GlyphRole

GlyphRole = "winner" | "success" | "failure" | "warning" | "error" | "info" | "better" | "worse" | "unchanged" | "pending" | "bullet" | "more"

Defined in: glyph-for.ts:15

What a symbol means in a rendered report, independent of which character draws it.

The layer that keeps @ac-kit/format-monospace free of vocabulary it has no business owning: it ships star and triangleUp, this decides that a winner is a star. Same split as colour, where the palette names roles and @ac-kit/math-color only knows values.