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