1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

move custom monaco themes to own folder

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-11-03 12:46:07 +02:00
parent 277dfb2e3d
commit bc7a0b60be
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
// Monaco editor themes customization
import { editor } from "monaco-editor";
import cloudsMidnight from "./monaco-theme.clouds-midnight.json";
import cloudsMidnight from "./monaco-themes/clouds-midnight.json";
export type MonacoTheme = "vs" | "vs-dark" | "hc-black" | MonacoCustomTheme;
export type MonacoCustomTheme = "clouds-midnight";
@ -42,5 +42,5 @@ export function registerCustomThemes(): void {
}
export async function loadCustomTheme(name: string): Promise<MonacoThemeData> {
return import(`./monaco-theme.${name}.json`);
return import(`./monaco-themes/${name}.json`);
}