resolveTheme()
Updated 10 Nov 2026
resolveTheme(themeOption?, customThemes?): ICodeTheme
Defined in: packages/code/src/themes.ts:118
Resolves theme configuration from name or custom object.
Parameters
themeOption?
PresetThemeName | string & object | ICodeTheme
customThemes?
Record<string, Partial<ICodeTheme>>