Skip to content

ColorSchemeSource

A live light / dark scheme (EditorEnvironment.colorScheme): its value now, and its changes.

current(): ColorScheme

The scheme now.

ColorScheme


subscribe(cb): () => void

Follow changes; returns the unsubscribe.

(scheme) => void

() => void