Skip to content

Commit 76d142c

Browse files
committed
fix some colours
1 parent 6a415e2 commit 76d142c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

MaterialDesignColors.WpfExample/ListsWindow.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain"
5-
xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf"
5+
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
6+
Background="{DynamicResource MaterialDesignPaper}"
7+
FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
68
xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"
79
Title="Lists & Grids" Height="500" Width="800">
810
<Window.Resources>

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
</Style>
327327

328328
<Style x:Key="MaterialDesignDataGrid" TargetType="{x:Type DataGrid}">
329-
<Setter Property="Background" Value="{DynamicResource MaterialDesignBackground}"/>
329+
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}"/>
330330
<Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/>
331331
<Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}"/>
332332
<Setter Property="BorderThickness" Value="0"/>

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Light.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<SolidColorBrush x:Key="MaterialDesignCheckBoxDisabled" Color="#42000000" />
1313

1414
<SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="#89000000" />
15-
16-
<SolidColorBrush x:Key="MaterialDesignDivider" Color="#FFeeeeee" />
17-
<SolidColorBrush x:Key="MaterialDesignSelection" Color="#FFf5f5f5" />
15+
16+
<SolidColorBrush x:Key="MaterialDesignDivider" Color="#FFB6B6B6" />
17+
<SolidColorBrush x:Key="MaterialDesignSelection" Color="#FFDeDeDe" />
1818

1919
</ResourceDictionary>

0 commit comments

Comments
 (0)