Skip to content

HighlightingThemeSource

HighlightingThemeSource = object

readonly current: () => HighlightingThemeSelection

HighlightingThemeSelection


readonly optional importedFallback?: () => string

The imported theme a document keeps if it asks for colors while a built-in palette is on.

string


readonly optional subscribe?: (listener) => () => void

Called when current may answer differently; returns an unsubscribe.

() => void

() => void