Interface PhraseItem

Represents a phrase item with various formatting options.

interface PhraseItem {
    allowedInEnvironments?: string[];
    background?: PhraseColors;
    color?: PhraseColors;
    currentEnvironment?: string;
    dim?: boolean;
    fontStyle?: PhraseFontStyle;
    fontWeight?: PhraseWeight;
    hidden?: boolean;
    orderToApplyStyles?: PhraseOrderType[];
    phrase: string;
    textDecoration?: PhraseDecoration;
}

Properties

allowedInEnvironments?: string[]

The environments in which the phrase is allowed.

background?: PhraseColors

The background color of the phrase.

color?: PhraseColors

The color of the phrase.

currentEnvironment?: string

The current environment.

dim?: boolean

Whether the phrase should be displayed with reduced intensity.

fontStyle?: PhraseFontStyle

The font style of the phrase.

fontWeight?: PhraseWeight

The font weight of the phrase.

hidden?: boolean

Whether the phrase should be hidden.

orderToApplyStyles?: PhraseOrderType[]

The order in which the styles should be applied.

phrase: string

The phrase text.

textDecoration?: PhraseDecoration

The text decoration of the phrase.

Generated using TypeDoc