MCPcopy Index your code
hub / github.com/microsoft/rushstack / reloadStyles

Function reloadStyles

src/index.ts:121–127  ·  view source on GitHub ↗

* Reloads styles.

()

Source from the content-addressed store, hash-verified

119 * Reloads styles.
120 */
121function reloadStyles(): void {
122 if (_themeState.theme) {
123 for (const styleRecord of _themeState.registeredStyles) {
124 applyThemableStyles(styleRecord.themableStyle, styleRecord);
125 }
126 }
127}
128
129/**
130 * Find theme tokens and replaces them with provided theme values.

Callers 1

loadThemeFunction · 0.85

Calls 1

applyThemableStylesFunction · 0.85

Tested by

no test coverage detected