Class MonacoThemeRegistry
Properties
Protected
Readonly
registryFactory
Methods
initializeDefaultThemes
- initializeDefaultThemes(): void
Returns void
Protected
normalizeColor
- normalizeColor(color): undefined | string
Parameters
- color: undefined | string | Color
Returns undefined | string
register
- register(json, includes?, givenName?, monacoBase?): ThemeMix
Parameters
- json: any
Optional
includes: {
[includePath: string]: any;
}[includePath: string]: any
Optional
givenName: stringOptional
monacoBase: BuiltinTheme
setTheme
- setTheme(name, data): void
Returns void
Protected
transform
- transform(tokenColor, acceptor): void
Parameters
- tokenColor: any
- acceptor: ((rule) => void)
Returns void
Register VS Code compatible themes