App.xaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Application x:Class="Final.App"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:Final"
  5. StartupUri="Win\AuthorWin.xaml">
  6. <Application.Resources>
  7. <SolidColorBrush x:Key="RGBWhite">
  8. <SolidColorBrush.Color>
  9. <Color A="255" R="255" G="255" B="255"/>
  10. </SolidColorBrush.Color>
  11. </SolidColorBrush>
  12. <SolidColorBrush x:Key="RGBBlue">
  13. <SolidColorBrush.Color>
  14. <Color A="255" R="145" G="32" B="173"/>
  15. </SolidColorBrush.Color>
  16. </SolidColorBrush>
  17. <SolidColorBrush x:Key="RGBGreen">
  18. <SolidColorBrush.Color>
  19. <Color A="255" R="67" G="100" B="200"/>
  20. </SolidColorBrush.Color>
  21. </SolidColorBrush>
  22. <SolidColorBrush x:Key="Green>">#00CC76</SolidColorBrush>
  23. <SolidColorBrush x:Key="White">#FFFFFF</SolidColorBrush>
  24. <SolidColorBrush x:Key="Blue">#CEFFF9</SolidColorBrush>
  25. <Style TargetType="Button" x:Key="DefaultButton">
  26. <Setter Property="Height" Value="30"/>
  27. <Setter Property="Width" Value="auto"/>
  28. <Setter Property="Background" Value="{StaticResource Blue}"/>
  29. <Setter Property="Foreground" Value="{StaticResource Green>}"/>
  30. </Style>
  31. <Style TargetType="ComboBox" x:Key="DefaultCombo">
  32. <Setter Property="Height" Value="30"/>
  33. <Setter Property="Width" Value="auto"/>
  34. <Setter Property="Background" Value="{StaticResource Blue}"/>
  35. <Setter Property="Foreground" Value="{StaticResource Green>}"/>
  36. </Style>
  37. <Style TargetType="Window" x:Key="DefaultWindow">
  38. <Setter Property="FontFamily" Value="Gabriola"/>
  39. <Setter Property="FontSize" Value="20"/>
  40. </Style>
  41. </Application.Resources>
  42. </Application>