Styles.axaml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <Styles xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <Design.PreviewWith>
  4. <Border Padding="20">
  5. <!-- Add Controls for Previewer Here -->
  6. </Border>
  7. </Design.PreviewWith>
  8. <Style Selector="Button">
  9. <Setter Property="Background" Value="DarkBlue"/>
  10. <Setter Property="Foreground" Value="White"/>
  11. </Style>
  12. <Style Selector="Button:pressed/template/ContentPresenter#PART_ContentPresenter">
  13. <Setter Property="Background" Value="BlueViolet"/>
  14. </Style>
  15. <Style Selector="Button:pointerover /template/ ContentPresenter#PART_ContentPresenter">
  16. <Setter Property="Background" Value="Blue"/>
  17. <Setter Property="Foreground" Value="White"/>
  18. </Style>
  19. <Style Selector="ComboBox:pointerover /template/ Border#Background">
  20. <Setter Property="Background" Value="Blue"/>
  21. <Setter Property="BorderBrush" Value="LightBlue" />
  22. </Style>
  23. <Style Selector="DatePicker">
  24. <Setter Property="Foreground" Value="White"/>
  25. </Style>
  26. <Style Selector="TextBlock">
  27. <Setter Property="Foreground" Value="DarkBlue"/>
  28. <Setter Property="FontSize" Value="16"/>
  29. </Style>
  30. <!-- Add Styles Here -->
  31. </Styles>