HighlightingThemeSource
HighlightingThemeSource =
object
Properties
Section titled “Properties”current
Section titled “current”
readonlycurrent: () =>HighlightingThemeSelection
Returns
Section titled “Returns”importedFallback?
Section titled “importedFallback?”
readonlyoptionalimportedFallback?: () =>string
The imported theme a document keeps if it asks for colors while a built-in palette is on.
Returns
Section titled “Returns”string
subscribe?
Section titled “subscribe?”
readonlyoptionalsubscribe?: (listener) => () =>void
Called when current may answer differently; returns an unsubscribe.
Parameters
Section titled “Parameters”listener
Section titled “listener”() => void
Returns
Section titled “Returns”() => void