open static fun initThemeSource(context: ApplicationContext): ThemeSource
Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource". If no such bean is found, a default (empty) ThemeSource will be used.
context - current application context
Return
the initialized theme source (will never be null)
See Also
#THEME_SOURCE_BEAN_NAME