Skip to content

Commit 617fb09

Browse files
committed
Fix name
1 parent 24053ec commit 617fb09

9 files changed

+10
-11
lines changed

MainDemo.Wpf/App.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
1010
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
11-
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Fonts.xaml" />
1211
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
1312
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" />
1413

MainDemo.Wpf/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
TextOptions.TextFormattingMode="Ideal"
1313
TextOptions.TextRenderingMode="Auto"
1414
Background="{DynamicResource MaterialDesignPaper}"
15-
FontFamily="{StaticResource DefaultFont}" Icon="favicon.ico">
15+
FontFamily="{StaticResource MaterialDesignFont}" Icon="favicon.ico">
1616
<Window.Resources>
1717
<ResourceDictionary>
1818
<ResourceDictionary.MergedDictionaries>

MainDemo.Wpf/ProvingGround.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
77
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
88
Background="{DynamicResource MaterialDesignPaper}"
9-
FontFamily="{StaticResource DefaultFont}"
9+
FontFamily="{StaticResource MaterialDesignFont}"
1010
mc:Ignorable="d"
1111
d:DesignWidth="477" d:DesignHeight="272">
1212
<UserControl.Resources>

MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
290290
</None>
291291
<AppDesigner Include="Properties\" />
292-
<Page Include="Themes\MaterialDesignTheme.Fonts.xaml">
292+
<Page Include="Themes\MaterialDesignTheme.Font.xaml">
293293
<Generator>MSBuild:Compile</Generator>
294294
<SubType>Designer</SubType>
295295
</Page>

MaterialDesignThemes.Wpf/Themes/Generic.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.RatingBar.xaml" />
2121
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TimePicker.xaml" />
2222
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" />
23-
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Fonts.xaml" />
23+
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Font.xaml" />
2424
</ResourceDictionary.MergedDictionaries>
2525

2626
<!-- set up default styles for our custom Material Design in XAML Toolkit controls -->
@@ -574,7 +574,7 @@
574574
TextOptions.TextFormattingMode="Ideal"
575575
TextOptions.TextRenderingMode="Auto"
576576
Foreground="{DynamicResource MaterialDesignBody}"
577-
FontFamily="{StaticResource DefaultFont}"
577+
FontFamily="{StaticResource MaterialDesignFont}"
578578
IsTabStop="False"
579579
Opacity="0"
580580
RenderTransformOrigin=".5,.5"

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Defaults.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- use this resource dictionary to set up the most common themese for standard controls -->
66

77
<ResourceDictionary.MergedDictionaries>
8-
8+
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Font.xaml" />
99
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml" />
1010
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" />
1111
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Button.xaml" />

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Fonts.xaml renamed to MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Font.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
>
44

5-
<FontFamily x:Key="DefaultFont">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily>
5+
<FontFamily x:Key="MaterialDesignFont">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily>
66

77
</ResourceDictionary>

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Menu.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<Style x:Key="MaterialDesignMenu" TargetType="{x:Type MenuBase}">
2626
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}"/>
27-
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
27+
<Setter Property="FontFamily" Value="{StaticResource MaterialDesignFont}"/>
2828
<Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/>
2929
<Setter Property="TextBlock.FontSize" Value="15"/>
3030
<Setter Property="VerticalContentAlignment" Value="Center"/>

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBar.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" />
1111
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" />
1212
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ToggleButton.xaml" />
13-
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Fonts.xaml" />
13+
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Font.xaml" />
1414
</ResourceDictionary.MergedDictionaries>
1515

1616
<Style x:Key="MaterialDesignToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
@@ -117,7 +117,7 @@
117117

118118
<Style x:Key="MaterialDesignToolBar" TargetType="{x:Type ToolBar}">
119119
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}"/>
120-
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
120+
<Setter Property="FontFamily" Value="{StaticResource MaterialDesignFont}"/>
121121
<Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/>
122122
<Setter Property="ClipToBounds" Value="True"/>
123123
<Setter Property="Template">

0 commit comments

Comments
 (0)