Skip to content

Commit caac02d

Browse files
committed
feat: register some colors used by most apps
1 parent eb2b69e commit caac02d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/theme/index.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
11
import { setThemes, setDefaultThemes, IThemeExtensionPoint } from 'vscode/service-override/theme'
22
import { Disposable } from 'vscode'
3+
import { registerColor } from 'vscode/monaco'
34
import defaultThemes from '../languages/extensions/themes.json'
45
import themeLoader from '../languages/extensions/themeLoader'
56

7+
// Export 3 new colors used
8+
registerColor('statusBar.foreground', {
9+
dark: '#ffffff',
10+
light: '#20252a',
11+
hcDark: '#ffffff',
12+
hcLight: '#20252a'
13+
}, 'Status bar foreground color.')
14+
registerColor('statusBar.background', {
15+
dark: '#252e38',
16+
light: '#ffffff',
17+
hcDark: null,
18+
hcLight: null
19+
}, 'Status bar background color.')
20+
registerColor('statusBar.border', {
21+
dark: '#41454a',
22+
light: '#dadada',
23+
hcDark: '#41454a',
24+
hcLight: '#dadada'
25+
}, 'Status bar border color.')
26+
627
interface DefaultTheme extends IThemeExtensionPoint {
728
extension: string
829
}

0 commit comments

Comments
 (0)