MCPcopy
hub / github.com/streamlit/streamlit / createAutoTheme

Function createAutoTheme

frontend/lib/src/theme/utils.ts:143–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141}
142
143export const createAutoTheme = (): ThemeConfig => ({
144 ...getSystemTheme(),
145 name: AUTO_THEME_NAME,
146})
147
148// Update auto theme in case it has changed
149export const createPresetThemes = (): ThemeConfig[] => [

Callers 6

utils.test.tsFile · 0.90
processThemeInputMethod · 0.90
useThemeManagerFunction · 0.90
createPresetThemesFunction · 0.85
getHostSpecifiedThemeFunction · 0.85
getDefaultThemeFunction · 0.85

Calls 1

getSystemThemeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…