feat(monaco-theme): update Monaco theme configuration with label metadata
This commit is contained in:
parent
ec9f3b2475
commit
6d9c6701d4
@ -2,8 +2,14 @@ import { MonacoTheme } from "@/types/monaco-theme";
|
|||||||
|
|
||||||
// Define theme configurations
|
// Define theme configurations
|
||||||
const MonacoThemeConfig = {
|
const MonacoThemeConfig = {
|
||||||
light: MonacoTheme.GitHubLightDefault, // Light theme
|
[MonacoTheme.GitHubLightDefault]: {
|
||||||
dark: MonacoTheme.GitHubDarkDefault, // Dark theme
|
id: MonacoTheme.GitHubLightDefault,
|
||||||
|
label: "Github Light Default",
|
||||||
|
},
|
||||||
|
[MonacoTheme.GitHubDarkDefault]: {
|
||||||
|
id: MonacoTheme.GitHubDarkDefault,
|
||||||
|
label: "Github Dark Default",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export { MonacoThemeConfig };
|
export { MonacoThemeConfig };
|
||||||
|
@ -2,3 +2,8 @@ export enum MonacoTheme {
|
|||||||
GitHubLightDefault = "github-light-default",
|
GitHubLightDefault = "github-light-default",
|
||||||
GitHubDarkDefault = "github-dark-default",
|
GitHubDarkDefault = "github-dark-default",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type MonacoThemeMetadata = {
|
||||||
|
id: MonacoTheme;
|
||||||
|
label: string;
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user