Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ColorRegistry

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

Hierarchy

  • ColorRegistry

Index

Constructors

constructor

Properties

Readonly onDidChange

onDidChange: Event<void> = ...

Protected Readonly onDidChangeEmitter

onDidChangeEmitter: Emitter<void> = ...

Methods

Protected doRegister

Protected fireDidChange

  • fireDidChange(): void

getColors

  • getColors(): IterableIterator<string>

getCurrentColor

  • getCurrentColor(id: string): undefined | string

getCurrentCssVariable

register

toCssVariableName

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