@@ -57,8 +57,8 @@ public static void SetExtendedTheme(this ResourceDictionary resourceDictionary,
5757 SetSolidColorBrush ( resourceDictionary , "SecondaryHueDarkForegroundBrush" , theme . SecondaryDark . ForegroundColor ?? theme . SecondaryDark . Color . ContrastingForegroundColor ( ) ) ;
5858
5959 // these are here for backwards compatibility, and will be removed in a future version.
60- SetSolidColorBrush ( resourceDictionary , "SecondaryAccentBrush " , theme . SecondaryMid . Color ) ;
61- SetSolidColorBrush ( resourceDictionary , "SecondaryAccentForegroundBrush " , theme . SecondaryMid . ForegroundColor ?? theme . SecondaryMid . Color . ContrastingForegroundColor ( ) ) ;
60+ SetSolidColorBrush ( resourceDictionary , "SecondaryHueMidBrush " , theme . SecondaryMid . Color ) ;
61+ SetSolidColorBrush ( resourceDictionary , "SecondaryHueMidForegroundBrush " , theme . SecondaryMid . ForegroundColor ?? theme . SecondaryMid . Color . ContrastingForegroundColor ( ) ) ;
6262
6363 SetSolidColorBrush ( resourceDictionary , "ValidationErrorBrush" , theme . ValidationError ) ;
6464 resourceDictionary [ "ValidationErrorColor" ] = theme . ValidationError ;
@@ -89,8 +89,8 @@ public static IExtendedTheme GetExtendedTheme(this ResourceDictionary resourceDi
8989 return theme ;
9090 }
9191
92- Color secondaryMid = GetColor ( resourceDictionary , "SecondaryHueMidBrush" , "SecondaryAccentBrush " ) ;
93- Color secondaryMidForeground = GetColor ( resourceDictionary , "SecondaryHueMidForegroundBrush" , "SecondaryAccentForegroundBrush " ) ;
92+ Color secondaryMid = GetColor ( resourceDictionary , "SecondaryHueMidBrush" , "SecondaryHueMidBrush " ) ;
93+ Color secondaryMidForeground = GetColor ( resourceDictionary , "SecondaryHueMidForegroundBrush" , "SecondaryHueMidForegroundBrush " ) ;
9494
9595 if ( ! TryGetColor ( resourceDictionary , "SecondaryHueLightBrush" , out Color secondaryLight ) )
9696 {
0 commit comments