- // initialise the alternative theme with dark theme colors
- this.previousTheme['mainBackgroundColor'] = '#111111'
- this.previousTheme['mainForegroundColor'] = '#fff'
- this.previousTheme['submenuColor'] = 'rgb(32,32,32)'
- this.previousTheme['inputColor'] = 'gray'
- this.previousTheme['inputPlaceholderColor'] = '#fff'
-
- this.hotkeys = [
- new Hotkey('T', (event: KeyboardEvent): boolean => {
- this.toggleDarkTheme()
- return false
- }, undefined, 'Toggle Dark theme')
- ]
- this.hotkeysService.add(this.hotkeys)