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

Function updateComponentStyles

packages/base/src/theming/componentStyles.ts:12–17  ·  view source on GitHub ↗
(packageName: string, content: string)

Source from the content-addressed store, hash-verified

10};
11
12const updateComponentStyles = (packageName: string, content: string) => {
13 packageMap.set(packageName, content);
14
15 const combinedStyles = Array.from(packageMap.values()).join("\n");
16 getComponentStyles().replaceSync(combinedStyles);
17};
18
19export {
20 getComponentStyles,

Callers 1

loadComponentPackagesFunction · 0.85

Calls 1

getComponentStylesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…