Skip to content

Commit f8df3cd

Browse files
committed
Convert all white background into a BackgroundLight reference
1 parent d34658f commit f8df3cd

File tree

9 files changed

+10
-9
lines changed

9 files changed

+10
-9
lines changed

Rubberduck.Core/UI/CodeExplorer/CodeExplorerControl.xaml

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

390390
<TreeView x:Name="ProjectTree"
391391
Grid.Row="2"
392-
Background="White"
392+
Background="{StaticResource BackgroundLightBrush}"
393393
HorizontalContentAlignment="Stretch"
394394
ItemsSource="{Binding Projects}"
395395
ItemContainerStyle="{StaticResource TreeViewContainerStyle}"

Rubberduck.Core/UI/CodeMetrics/CodeMetricsControl.xaml

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

4040
<TreeView x:Name="ProjectTree"
4141
Grid.RowSpan="2" Grid.Column="0"
42-
Background="White"
42+
Background="{StaticResource BackgroundLightBrush}"
4343
HorizontalContentAlignment="Stretch"
4444
ItemsSource="{Binding Projects}"
4545
BorderThickness="0,1"

Rubberduck.Core/UI/Refactorings/EncapsulateField/EncapsulateFieldView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<RowDefinition Height="*" />
2323
<RowDefinition Height="40" />
2424
</Grid.RowDefinitions>
25-
<StackPanel Background="White">
25+
<StackPanel Background="{StaticResource BackgroundLightBrush}">
2626
<Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=EncapsulateField_TitleText}" FontWeight="Bold" />
2727
<TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=EncapsulateField_InstructionText}"
2828
Margin="5,0" />

Rubberduck.Core/UI/Refactorings/ExtractInterface/ExtractInterfaceView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<RowDefinition Height="*" />
2222
<RowDefinition Height="40" />
2323
</Grid.RowDefinitions>
24-
<DockPanel Dock="Top" Background="White">
24+
<DockPanel Dock="Top" Background="{StaticResource BackgroundLightBrush}">
2525
<StackPanel>
2626

2727
<Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ExtractInterface_TitleLabel}" FontWeight="Bold" />

Rubberduck.Core/UI/Refactorings/RemoveParameters/RemoveParametersView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<RowDefinition Height="*" />
9595
<RowDefinition Height="40" />
9696
</Grid.RowDefinitions>
97-
<StackPanel Background="White">
97+
<StackPanel Background="{StaticResource BackgroundLightBrush}">
9898
<Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=RemoveParamsDialog_TitleText}" FontWeight="Bold" />
9999
<TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=RemoveParamsDialog_InstructionsLabelText}"
100100
Margin="5,0" />

Rubberduck.Core/UI/Refactorings/Rename/RenameView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<RowDefinition Height="*" />
2222
<RowDefinition Height="40" />
2323
</Grid.RowDefinitions>
24-
<StackPanel Background="White">
24+
<StackPanel Background="{StaticResource BackgroundLightBrush}">
2525
<Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=RenameDialog_TitleText}" FontWeight="Bold" />
2626
<TextBlock Text="{Binding Instructions}" Margin="5,0" />
2727
</StackPanel>

Rubberduck.Core/UI/Refactorings/ReorderParameters/ReorderParametersView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<RowDefinition Height="*" />
9393
<RowDefinition Height="40" />
9494
</Grid.RowDefinitions>
95-
<StackPanel Background="White">
95+
<StackPanel Background="{StaticResource BackgroundLightBrush}">
9696
<Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ReorderParamsDialog_TitleText}" FontWeight="Bold" />
9797
<TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ReorderParamsDialog_InstructionsLabelText}"
9898
Margin="5,0" />

Rubberduck.Core/UI/Settings/SettingsControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
VerticalAlignment="Top"
101101
BorderBrush="Black"
102102
BorderThickness="0, 1">
103-
<StackPanel Background="White">
103+
<StackPanel Background="{StaticResource BackgroundLightBrush}">
104104
<Label Content="{Binding ElementName=ListBox, Path=SelectedItem.Label}" FontWeight="Bold" />
105105
<TextBlock Text="{Binding ElementName=ListBox, Path=SelectedItem.Instructions}" Margin="10, 0" />
106106
</StackPanel>

Rubberduck.Core/UI/Styles/DefaultStyle.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
<SolidColorBrush x:Key="CaptionLightBrush" Color="{StaticResource CaptionLightColor}"/>
6161
<SolidColorBrush x:Key="BackgroundDarkBrush" Color="{StaticResource BackgroundDarkColor}"/>
6262
<SolidColorBrush x:Key="BackgroundLightBrush" Color="{StaticResource BackgroundLightColor}"/>
63-
63+
<SolidColorBrush x:Key="BackgroundWhiteBrush" Color="{StaticResource BackgroundWhiteColor}"/>
64+
6465
<SolidColorBrush x:Key="Item.MouseOver.Background" Color="#1F26A0DA"/>
6566
<SolidColorBrush x:Key="Item.MouseOver.Border" Color="#A826A0DA"/>
6667
<SolidColorBrush x:Key="Item.SelectedActive.Border" Color="#ADC6E5"/>

0 commit comments

Comments
 (0)