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

Function formatThemeLink

packages/base/src/config/ThemeRoot.ts:56–58  ·  view source on GitHub ↗
(theme: string, validatedThemeRoot: string)

Source from the content-addressed store, hash-verified

54};
55
56const formatThemeLink = (theme: string, validatedThemeRoot: string) => {
57 return `${validatedThemeRoot}Base/baseLib/${theme}/css_variables.css`;
58};
59
60const attachCustomThemeStylesToHead = async (theme: string): Promise<void> => {
61 const link = document.querySelector(`[sap-ui-webcomponents-theme="${theme}"]`);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…