1
1
using System ;
2
- using System . Linq ;
3
- using System . Text . RegularExpressions ;
4
2
using System . Windows ;
5
3
using System . Windows . Media ;
6
4
using System . Windows . Media . Animation ;
@@ -17,7 +15,9 @@ public static void SetMahApps(this ResourceDictionary resourceDictionary, ITheme
17
15
18
16
resourceDictionary . SetBrush ( "Theme.ShowcaseBrush" , new SolidColorBrush ( theme . SecondaryMid . Color ) ) ;
19
17
18
+ resourceDictionary . SetColor ( "MahApps.Colors.HighlightLight" , theme . PrimaryLight . Color ) ;
20
19
resourceDictionary . SetColor ( "MahApps.Colors.Highlight" , theme . PrimaryMid . Color ) ;
20
+ resourceDictionary . SetColor ( "MahApps.Colors.HighlightDark" , theme . PrimaryDark . Color ) ;
21
21
resourceDictionary . SetColor ( "MahApps.Colors.AccentBase" , theme . SecondaryDark . Color ) ;
22
22
resourceDictionary . SetColor ( "MahApps.Colors.Accent" , theme . SecondaryMid . Color ) ;
23
23
resourceDictionary . SetColor ( "MahApps.Colors.Accent2" , theme . SecondaryMid . Color ) ;
@@ -37,7 +37,7 @@ public static void SetMahApps(this ResourceDictionary resourceDictionary, ITheme
37
37
resourceDictionary . SetBrush ( "MahApps.Brushes.WhiteColor" , ( Color ) resourceDictionary [ "MahApps.Colors.White" ] ) ;
38
38
resourceDictionary . SetBrush ( "MahApps.Brushes.BlackColor" , ( Color ) resourceDictionary [ "MahApps.Colors.Black" ] ) ;
39
39
40
- resourceDictionary . SetBrush ( "MahApps.Brushes.WindowTitle" , ( Color ) resourceDictionary [ "MahApps.Colors.Accent " ] ) ;
40
+ resourceDictionary . SetBrush ( "MahApps.Brushes.WindowTitle" , ( Color ) resourceDictionary [ "MahApps.Colors.HighlightDark " ] ) ;
41
41
resourceDictionary . SetBrush ( "MahApps.Brushes.WindowTitle.NonActive" , Color . FromRgb ( 0x80 , 0x80 , 0x80 ) ) ;
42
42
resourceDictionary . SetBrush ( "MahApps.Brushes.Border.NonActive" , Color . FromRgb ( 0x80 , 0x80 , 0x80 ) ) ;
43
43
0 commit comments