(themeRoot: string)
| 44 | * @returns { Promise<void> } |
| 45 | */ |
| 46 | const setThemeRoot = (themeRoot: string): Promise<void> | undefined => { |
| 47 | if (currThemeRoot === themeRoot) { |
| 48 | return; |
| 49 | } |
| 50 | |
| 51 | currThemeRoot = themeRoot; |
| 52 | |
| 53 | return attachCustomThemeStylesToHead(getTheme()); |
| 54 | }; |
| 55 | |
| 56 | const formatThemeLink = (theme: string, validatedThemeRoot: string) => { |
| 57 | return `${validatedThemeRoot}Base/baseLib/${theme}/css_variables.css`; |
nothing calls this directly
no test coverage detected
searching dependent graphs…