diff --git a/src/config/monaco-theme.ts b/src/config/monaco-theme.ts index 06600b4..5f96ed2 100644 --- a/src/config/monaco-theme.ts +++ b/src/config/monaco-theme.ts @@ -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 }; diff --git a/src/types/monaco-theme.ts b/src/types/monaco-theme.ts index 8154fde..a2195ee 100644 --- a/src/types/monaco-theme.ts +++ b/src/types/monaco-theme.ts @@ -2,3 +2,8 @@ export enum MonacoTheme { GitHubLightDefault = "github-light-default", GitHubDarkDefault = "github-dark-default", } + +export type MonacoThemeMetadata = { + id: MonacoTheme; + label: string; +};