Skip to content
Prev Previous commit
Next Next commit
MaterialDesignTheme.Defaults replaced by MaterialDesign2.Defaults
  • Loading branch information
MichelMichels committed Dec 13, 2021
commit df5586689fa10c860561394ce75abc708da1dc7d
2 changes: 1 addition & 1 deletion MahMaterialDragablzMashUp/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />

<!-- Material Design -->
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />

<!-- Material Design: MahApps Compatibility -->
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Defaults.xaml"/>
Expand Down
2 changes: 1 addition & 1 deletion MainDemo.Wpf/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" />
-->

<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />

<ResourceDictionary Source="pack://application:,,,/ShowMeTheXAML.AvalonEdit;component/Themes/xamldisplayer.xaml" />
</ResourceDictionary.MergedDictionaries>
Expand Down
2 changes: 1 addition & 1 deletion MaterialDesignThemes.UITests/XamlTestMixins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static async Task InitialzeWithMaterialDesign(this IApp app,
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme=""{baseTheme}"" PrimaryColor=""{primary}"" SecondaryColor=""{secondary}"" {colorAdjustString}/>

<ResourceDictionary Source = ""pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml"" />
<ResourceDictionary Source = ""pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml"" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>";

Expand Down
2 changes: 1 addition & 1 deletion MaterialDesignThemes.Wpf.Tests/MdixHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static MdixHelper()
var _ = Application.Current;
}

private static ResourceDictionary DefaultResourceDictionary => GetResourceDictionary("MaterialDesignTheme.Defaults.xaml");
private static ResourceDictionary DefaultResourceDictionary => GetResourceDictionary("MaterialDesign2.Defaults.xaml");

private static ResourceDictionary GenericResourceDictionary => GetResourceDictionary("Generic.xaml");

Expand Down
2 changes: 1 addition & 1 deletion MaterialDesignThemes.Wpf/Themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
must be selected manually by the user, so that they override default styles.
The easiest way to do this is include:

MaterialDesignTheme.Defaults.xaml
MaterialDesign2.Defaults.xaml
in your App.xaml
-->
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Badged.xaml" />
Expand Down