StyleTextOptions
StyleTextOptions =
object
Defined in: packages/format-ansi/src/color.ts:29
Properties
Section titled “Properties”background?
Section titled “background?”
optionalbackground?:Rgb8
Defined in: packages/format-ansi/src/color.ts:33
colorDepth?
Section titled “colorDepth?”
optionalcolorDepth?:ColorDepth
Defined in: packages/format-ansi/src/color.ts:38
Downsamples requested colors to what this depth can render. Default 24
(no downsampling).
foreground?
Section titled “foreground?”
optionalforeground?:Rgb8
Defined in: packages/format-ansi/src/color.ts:32
styles?
Section titled “styles?”
optionalstyles?: readonlySgrStyleName[]
Defined in: packages/format-ansi/src/color.ts:31
SGR attributes to apply, e.g. ["bold", "underline"].