Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ColorRegistry

It should be implemented by an extension, e.g. by the monaco extension.

Hierarchy

Index

Properties

Readonly onDidChange

onDidChange: Event<void> = this.onDidChangeEmitter.event

Protected Readonly onDidChangeEmitter

onDidChangeEmitter: Emitter<void> = new Emitter<void>()

Methods

Protected doRegister

Protected fireDidChange

  • fireDidChange(): void

getColors

  • getColors(): IterableIterator<string>

getCurrentColor

  • getCurrentColor(id: string): string | undefined

getCurrentCssVariable

register

toCssVariableName

  • toCssVariableName(id: string, prefix?: string): string