MCPcopy Create free account
hub / github.com/microsoft/SandDance / getThemePalette

Function getThemePalette

packages/powerbi/src/app.ts:29–32  ·  view source on GitHub ↗
(darkTheme: boolean)

Source from the content-addressed store, hash-verified

27use(fluentUIComponents, React as any, ReactDOM as any, vega, deck, layers, luma);
28
29function getThemePalette(darkTheme: boolean) {
30 const theme = darkTheme ? 'dark-theme' : '';
31 return themePalettes[theme];
32}
33
34export interface ViewChangeOptions {
35 signalChange?: boolean;

Callers 1

changeThemeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected