Skip to content

Commit c659f57

Browse files
Build fix
1 parent fca6f1d commit c659f57

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ui.frontend/src/utils/monaco/log.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Monaco } from '@monaco-editor/react';
2-
import { DEFAULT_THEME_ID } from './theme';
2+
import { BASE_THEME_ID } from './theme';
33

44
export const LOG_LANGUAGE_ID = 'acmLog';
55
export 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' },

ui.frontend/src/utils/monaco/theme.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { Monaco } from '@monaco-editor/react';
22

3+
export const BASE_THEME_ID = 'vs-dark';
34
export const DEFAULT_THEME_ID = 'acm-dark';
45

56
export 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: {},

0 commit comments

Comments
 (0)