(theme: string)
| 115 | * @param { string } theme |
| 116 | */ |
| 117 | const onThemeRegistered = (theme: string) => { |
| 118 | if (!booted) { |
| 119 | return; |
| 120 | } |
| 121 | |
| 122 | const currentTheme = getTheme(); |
| 123 | const currentBaseTheme = getBaseTheme(); |
| 124 | |
| 125 | if (theme === currentTheme || theme === currentBaseTheme) { |
| 126 | applyTheme(currentTheme); |
| 127 | } |
| 128 | }; |
| 129 | |
| 130 | export { |
| 131 | boot, |
nothing calls this directly
no test coverage detected
searching dependent graphs…