* Gets a theme by name. * @param themeName The name of the theme to get. * @returns The theme if found, undefined otherwise.
(themeName: string)
| 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) { |
no test coverage detected