Skip to content

styleSemanticFor

styleSemanticFor(terminal, text, role, options?): string

Defined in: semantic-palette.ts:80

Styles text as role, downsampled to what terminal can render.

Terminal

string

SemanticRole

StyleSemanticOptions

string