MCPcopy
hub / github.com/microsoft/SandDance / getThemePalette

Function getThemePalette

extensions/common-frontend/src/app.tsx:18–21  ·  view source on GitHub ↗
(darkTheme: boolean)

Source from the content-addressed store, hash-verified

16 }
17
18 function getThemePalette(darkTheme: boolean) {
19 const theme = darkTheme ? 'dark-theme' : '';
20 return SandDanceExplorer.themePalettes[theme];
21 }
22
23 function getViewerOptions(darkTheme: boolean) {
24 const color = getTextcolor();

Callers 2

getViewerOptionsFunction · 0.70
checkForDarkThemeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected