Skip to content

Vizel API / core/src / VizelHighlightOptions

Interface: VizelHighlightOptions

Defined in: packages/core/src/extensions/highlight.ts:13

Options for the highlight extension.

The highlight palette and the multicolor flag live here rather than on VizelTextColorOptions so that consumers can configure text color and highlight independently through features.content.textColor and features.content.highlight.

Properties

highlightColors?

ts
optional highlightColors?: readonly VizelColorDefinition[];

Defined in: packages/core/src/extensions/highlight.ts:15

Custom highlight color palette


multicolor?

ts
optional multicolor?: boolean;

Defined in: packages/core/src/extensions/highlight.ts:17

Allow any CSS color value (default: true)

Released under the MIT License.