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
|
||||
const MonacoThemeConfig = {
|
||||
light: MonacoTheme.GitHubLightDefault, // Light theme
|
||||
dark: MonacoTheme.GitHubDarkDefault, // Dark theme
|
||||
[MonacoTheme.GitHubLightDefault]: {
|
||||
id: MonacoTheme.GitHubLightDefault,
|
||||
label: "Github Light Default",
|
||||
},
|
||||
[MonacoTheme.GitHubDarkDefault]: {
|
||||
id: MonacoTheme.GitHubDarkDefault,
|
||||
label: "Github Dark Default",
|
||||
},
|
||||
};
|
||||
|
||||
export { MonacoThemeConfig };
|
||||
|
@ -2,3 +2,8 @@ export enum MonacoTheme {
|
||||
GitHubLightDefault = "github-light-default",
|
||||
GitHubDarkDefault = "github-dark-default",
|
||||
}
|
||||
|
||||
export type MonacoThemeMetadata = {
|
||||
id: MonacoTheme;
|
||||
label: string;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user