MCPcopy Create free account
hub / github.com/UI5/webcomponents / getThemeRoot

Function getThemeRoot

packages/base/src/config/ThemeRoot.ts:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 * @returns { string } the current theme root
19 */
20const getThemeRoot = (): string | undefined => {
21 if (currThemeRoot === undefined) {
22 currThemeRoot = getConfiguredThemeRoot();
23 }
24
25 return currThemeRoot;
26};
27
28/**
29 * Sets theme root for the current theme.

Callers 2

detectExternalThemeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…