MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getTheme

Method getTheme

packages/cli/src/ui/themes/theme-manager.ts:215–217  ·  view source on GitHub ↗

* Gets a theme by name. * @param themeName The name of the theme to get. * @returns The theme if found, undefined otherwise.

(themeName: string)

Source from the content-addressed store, hash-verified

213 * @returns The theme if found, undefined otherwise.
214 */
215 getTheme(themeName: string): Theme | undefined {
216 return this.findThemeByName(themeName);
217 }
218
219 findThemeByName(themeName: string | undefined): Theme | undefined {
220 if (!themeName) {

Callers 3

ThemeDialogFunction · 0.80
theme.test.tsFile · 0.80

Calls 1

findThemeByNameMethod · 0.95

Tested by

no test coverage detected