Skip to content

@comfit/wasm / ThemeStyle

Interface: ThemeStyle

Defined in: types.ts:50

Optional colors, font modifiers, and underline settings for one capture.

Properties

bg?

readonly optional bg?: ThemeColor

Defined in: types.ts:54

Background color. Inherits the parent value if omitted.


fg?

readonly optional fg?: ThemeColor

Defined in: types.ts:52

Foreground color. Inherits the parent value if omitted.


modifiers?

readonly optional modifiers?: readonly ThemeModifier[]

Defined in: types.ts:56

An omitted or empty list clears inherited modifiers on matching captures.


underline?

readonly optional underline?: object

Defined in: types.ts:58

Underline settings. Inherits the parent settings if omitted.

color?

readonly optional color?: ThemeColor

Underline color. Uses the rendering default if omitted.

style?

readonly optional style?: "line" | "curl" | "dashed" | "dotted" | "double_line"

Underline shape. Uses a straight line if omitted.