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:
parent
277dfb2e3d
commit
bc7a0b60be
@ -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`);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user