MCPcopy
hub / github.com/microsoft/rushstack / loadTheme

Function loadTheme

src/index.ts:111–116  ·  view source on GitHub ↗
(theme: ITheme)

Source from the content-addressed store, hash-verified

109 * @param {theme} theme JSON object of theme tokens to values.
110 */
111export function loadTheme(theme: ITheme): void {
112 _themeState.theme = theme;
113
114 // reload styles.
115 reloadStyles();
116}
117
118/**
119 * Reloads styles.

Callers 1

index.test.tsFile · 0.90

Calls 1

reloadStylesFunction · 0.85

Tested by

no test coverage detected