protected static void SetCurrentTheme(Theme theme, IThemeColorsBase themeColors, ResourceDictionary themeResources) { // set the current theme colors that will be referenced by the theme styles //CurrentTheme.Instance.ThemeColors = themeColors; CurrentTheme.SetTheme(theme, themeColors); // merge the XAML based light/dark theme set of styles ResourceDictionaryHelper.MergeIntoApplicationResources(themeResources); }