File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
ui.frontend/src/utils/monaco Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import { Monaco } from '@monaco-editor/react' ;
2- import { DEFAULT_THEME_ID } from './theme' ;
2+ import { BASE_THEME_ID } from './theme' ;
33
44export const LOG_LANGUAGE_ID = 'acmLog' ;
55export const LOG_THEME_ID = 'acmLog' ;
@@ -26,7 +26,7 @@ export function registerLogLanguage(instance: Monaco) {
2626 } ) ;
2727
2828 instance . editor . defineTheme ( LOG_THEME_ID , {
29- base : DEFAULT_THEME_ID ,
29+ base : BASE_THEME_ID ,
3030 inherit : true ,
3131 rules : [
3232 { token : 'log-error' , foreground : 'f14c4c' , fontStyle : 'bold' } ,
Original file line number Diff line number Diff line change 11import { Monaco } from '@monaco-editor/react' ;
22
3+ export const BASE_THEME_ID = 'vs-dark' ;
34export const DEFAULT_THEME_ID = 'acm-dark' ;
45
56export function registerTheme ( instance : Monaco ) {
67 instance . editor . defineTheme ( DEFAULT_THEME_ID , {
7- base : 'vs-dark' ,
8+ base : BASE_THEME_ID ,
89 inherit : true ,
910 rules : [ ] ,
1011 colors : { } ,
You can’t perform that action at this time.
0 commit comments