(theme: string)
| 23 | }; |
| 24 | |
| 25 | const loadThemeBase = async (theme: string) => { |
| 26 | if (!isThemeBaseRegistered()) { |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | const cssData = await getThemeProperties(BASE_THEME_PACKAGE, theme); |
| 31 | if (cssData) { |
| 32 | createOrUpdateStyle(cssData, "data-ui5-theme-properties", BASE_THEME_PACKAGE, theme); |
| 33 | } |
| 34 | }; |
| 35 | |
| 36 | const deleteThemeBase = () => { |
| 37 | removeStyle("data-ui5-theme-properties", BASE_THEME_PACKAGE); |
no test coverage detected
searching dependent graphs…