|
8 | 8 | d:DataContext="{d:DesignInstance {x:Type about:AboutControlViewModel}, IsDesignTimeCreatable=False}"
|
9 | 9 | KeyDown="OnKeyDownHandler">
|
10 | 10 | <UserControl.Resources>
|
11 |
| - <BitmapImage x:Key="RD" UriSource="pack://application:,,,/Rubberduck.Resources;component/Rubberduck.png" /> |
12 |
| - <Style x:Key="NormalLabel" TargetType="TextBlock"> |
13 |
| - <Style.Setters> |
14 |
| - <Setter Property="FontFamily" Value="Segoe UI" /> |
15 |
| - <Setter Property="FontSize" Value="11" /> |
16 |
| - <Setter Property="FontWeight" Value="Normal" /> |
17 |
| - <Setter Property="Foreground" Value="{x:Static SystemColors.ControlTextBrush}" /> |
18 |
| - </Style.Setters> |
19 |
| - </Style> |
20 |
| - <Style x:Key="SubtleLabel" TargetType="TextBlock"> |
21 |
| - <Style.Setters> |
22 |
| - <Setter Property="FontFamily" Value="Segoe UI" /> |
23 |
| - <Setter Property="FontSize" Value="11" /> |
24 |
| - <Setter Property="FontWeight" Value="Thin" /> |
25 |
| - <Setter Property="Foreground" Value="{x:Static SystemColors.GrayTextBrush}" /> |
26 |
| - </Style.Setters> |
27 |
| - </Style> |
28 |
| - <Style x:Key="HeadingLabel" TargetType="TextBlock"> |
29 |
| - <Style.Setters> |
30 |
| - <Setter Property="FontFamily" Value="Segoe UI" /> |
31 |
| - <Setter Property="FontSize" Value="14" /> |
32 |
| - <Setter Property="FontWeight" Value="Bold" /> |
33 |
| - <Setter Property="Foreground" Value="{x:Static SystemColors.ControlTextBrush}" /> |
34 |
| - </Style.Setters> |
35 |
| - </Style> |
36 |
| - <Style x:Key="SectionBorder" TargetType="Border"> |
37 |
| - <Style.Setters> |
38 |
| - <Setter Property="Background" Value="{x:Static SystemColors.ControlBrush}" /> |
39 |
| - <Setter Property="BorderBrush" Value="{x:Static SystemColors.HighlightBrush}" /> |
40 |
| - <Setter Property="BorderThickness" Value="2" /> |
41 |
| - <Setter Property="CornerRadius" Value="8" /> |
42 |
| - <Setter Property="Margin" Value="8,8" /> |
43 |
| - <Setter Property="Padding" Value="4" /> |
44 |
| - </Style.Setters> |
45 |
| - </Style> |
46 |
| - <Style x:Key="ReportButtonBorder" TargetType="Border"> |
47 |
| - <Style.Setters> |
48 |
| - <Setter Property="Margin" Value="10" /> |
49 |
| - <Setter Property="CornerRadius" Value="6" /> |
50 |
| - <Setter Property="BorderBrush" Value="Green" /> |
51 |
| - <Setter Property="BorderThickness" Value="2" /> |
52 |
| - <Setter Property="Background" Value="#FF40C954" /> |
53 |
| - </Style.Setters> |
54 |
| - <Style.Triggers> |
55 |
| - <Trigger Property="IsMouseOver" Value="True"> |
56 |
| - <Setter Property="Background" Value="#FF61D156" /> |
57 |
| - </Trigger> |
58 |
| - </Style.Triggers> |
59 |
| - </Style> |
60 |
| - |
| 11 | + <ResourceDictionary> |
| 12 | + <ResourceDictionary.MergedDictionaries> |
| 13 | + <ResourceDictionary Source="../Styles/DefaultStyle.xaml"/> |
| 14 | + </ResourceDictionary.MergedDictionaries> |
| 15 | + |
| 16 | + <BitmapImage x:Key="RD" UriSource="pack://application:,,,/Rubberduck.Resources;component/Rubberduck.png" /> |
| 17 | + <Style x:Key="NormalLabel" TargetType="TextBlock"> |
| 18 | + <Style.Setters> |
| 19 | + <Setter Property="FontFamily" Value="Segoe UI" /> |
| 20 | + <Setter Property="FontSize" Value="11" /> |
| 21 | + <Setter Property="FontWeight" Value="Normal" /> |
| 22 | + <Setter Property="Foreground" Value="{x:Static SystemColors.ControlTextBrush}" /> |
| 23 | + </Style.Setters> |
| 24 | + </Style> |
| 25 | + <Style x:Key="SubtleLabel" TargetType="TextBlock"> |
| 26 | + <Style.Setters> |
| 27 | + <Setter Property="FontFamily" Value="Segoe UI" /> |
| 28 | + <Setter Property="FontSize" Value="11" /> |
| 29 | + <Setter Property="FontWeight" Value="Thin" /> |
| 30 | + <Setter Property="Foreground" Value="{x:Static SystemColors.GrayTextBrush}" /> |
| 31 | + </Style.Setters> |
| 32 | + </Style> |
| 33 | + <Style x:Key="HeadingLabel" TargetType="TextBlock"> |
| 34 | + <Style.Setters> |
| 35 | + <Setter Property="FontFamily" Value="Segoe UI" /> |
| 36 | + <Setter Property="FontSize" Value="14" /> |
| 37 | + <Setter Property="FontWeight" Value="Bold" /> |
| 38 | + <Setter Property="Foreground" Value="{x:Static SystemColors.ControlTextBrush}" /> |
| 39 | + </Style.Setters> |
| 40 | + </Style> |
| 41 | + <Style x:Key="SectionBorder" TargetType="Border"> |
| 42 | + <Style.Setters> |
| 43 | + <Setter Property="Background" Value="{x:Static SystemColors.ControlBrush}" /> |
| 44 | + <Setter Property="BorderBrush" Value="{x:Static SystemColors.HighlightBrush}" /> |
| 45 | + <Setter Property="BorderThickness" Value="2" /> |
| 46 | + <Setter Property="CornerRadius" Value="8" /> |
| 47 | + <Setter Property="Margin" Value="8,8" /> |
| 48 | + <Setter Property="Padding" Value="4" /> |
| 49 | + </Style.Setters> |
| 50 | + </Style> |
| 51 | + <Style x:Key="ReportButtonBorder" TargetType="Border"> |
| 52 | + <Style.Setters> |
| 53 | + <Setter Property="Margin" Value="10" /> |
| 54 | + <Setter Property="CornerRadius" Value="6" /> |
| 55 | + <Setter Property="BorderBrush" Value="{StaticResource GreenButtonBorderBrush}" /> |
| 56 | + <Setter Property="BorderThickness" Value="2" /> |
| 57 | + <Setter Property="Background" Value="{StaticResource GreenButtonBrush}" /> |
| 58 | + </Style.Setters> |
| 59 | + <Style.Triggers> |
| 60 | + <Trigger Property="IsMouseOver" Value="True"> |
| 61 | + <Setter Property="Background" Value="{StaticResource GreenButtonMouseOverBrush}" /> |
| 62 | + </Trigger> |
| 63 | + </Style.Triggers> |
| 64 | + </Style> |
| 65 | + </ResourceDictionary> |
61 | 66 | </UserControl.Resources>
|
62 | 67 | <Grid Background="{x:Static SystemColors.WindowBrush}">
|
63 | 68 | <Grid.ColumnDefinitions>
|
|
109 | 114 | NavigateUri="https://github.com/rubberduck-vba/Rubberduck/issues/new/choose"
|
110 | 115 | TextDecorations="{x:Null}"
|
111 | 116 | Command="{Binding UriCommand}" CommandParameter="{Binding ElementName=GitHubIssueUrl, Path=NavigateUri}">
|
112 |
| - <Label Height="40" Foreground="White" FontFamily="Segoe UI" FontSize="13" FontWeight="SemiBold" |
| 117 | + <Label Height="40" Foreground="{StaticResource CaptionLightBrush}" FontFamily="Segoe UI" FontSize="13" FontWeight="SemiBold" |
113 | 118 | VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch"
|
114 | 119 | Content="{Resx ResxName=Rubberduck.Resources.About.AboutUI, Key=AboutWindow_ReportAnIssue}"/>
|
115 | 120 | </Hyperlink>
|
|
0 commit comments