highlightcolors

@nishans/utils / Exports / HighlightColors

Class: HighlightColors#

A class used to format inline text by highlighting their colors and background colors

Hierarchy#

Index#

Constructors#

Properties#

Accessors#

Methods#

Constructors#

constructor#

+ new HighlightColors(text?: TTextFormat): HighlightColors

Parameters:#

NameType
text?TTextFormat

Returns: HighlightColors

Defined in: inlineBlocks.ts:43

Properties#

text#

• text: TTextFormat

Defined in: inlineBlocks.ts:43

Accessors#

blue#

• blue(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:80


bluebg#

• bluebg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:120


brown#

• brown(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:64


brownbg#

• brownbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:104


default#

• default(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:56


defaultbg#

• defaultbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:96


gray#

• gray(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:60


graybg#

• graybg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:100


orange#

• orange(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:68


orangebg#

• orangebg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:108


pink#

• pink(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:88


pinkbg#

• pinkbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:128


purple#

• purple(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:84


purplebg#

• purplebg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:124


red#

• red(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:92


redbg#

• redbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:132


teal#

• teal(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:76


tealbg#

• tealbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:116


yellow#

• yellow(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:72


yellowbg#

• yellowbg(): InlineTextFormatter

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:112

Methods#

pushToLast#

â–¸ pushToLast(format: InlineFormat): InlineTextFormatter

Parameters:#

NameType
formatInlineFormat

Returns: InlineTextFormatter

Defined in: inlineBlocks.ts:49