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