Skip to content

Commit

Permalink
fix: Color inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
worldbeater committed Feb 9, 2022
1 parent 3a15ed6 commit e4c5504
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/Citrus.Avalonia/Theme/ExpanderStyles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@
<Style Selector="Expander:down:expanded /template/ ToggleButton#PART_toggle /template/ Path">
<Setter Property="Fill" Value="#ffffff" />
</Style>
<Style Selector="Expander /template/ ToggleButton#PART_toggle TextBlock">
<Setter Property="Foreground" Value="#ffffff" />
</Style>
</Styles>
12 changes: 7 additions & 5 deletions src/Citrus.Avalonia/Theme/MenuStyles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" />
<Setter Property="Background" Value="{DynamicResource ThemeCardBrush}" />
</Style>
<Style Selector="MenuItem > AccessText">
<Style Selector="MenuItem">
<Setter Property="FontSize" Value="14" />
<Setter Property="FontFamily" Value="Ubuntu" />
<Setter Property="Background" Value="{DynamicResource ThemeCardBrush}" />
</Style>
<Style Selector="MenuItem:pointerover > AccessText">
<Style Selector="MenuItem:pointerover">
<Setter Property="Foreground" Value="{DynamicResource HighlightForegroundBrush}" />
</Style>
<Style Selector="MenuItem:selected > AccessText">
<Style Selector="MenuItem:selected">
<Setter Property="Foreground" Value="{DynamicResource HighlightForegroundBrush}" />
</Style>
<Style Selector="MenuItem > MenuItem > AccessText">
<Setter Property="Foreground" Value="{DynamicResource HighlightForegroundBrush}" />
<Style Selector="MenuItem > MenuItem">
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" />
<Setter Property="Background" Value="{DynamicResource ThemeCardBrush}" />
</Style>
<Style Selector="MenuItem">
<Setter Property="BorderThickness" Value="0"/>
Expand Down
6 changes: 6 additions & 0 deletions src/Citrus.Avalonia/Theme/TextBoxStyles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<Style Selector="TextBox">
<Setter Property="CornerRadius" Value="5" />
</Style>
<Style Selector="ComboBox">
<Setter Property="CornerRadius" Value="5" />
</Style>
<Style Selector="NumericUpDown">
<Setter Property="CornerRadius" Value="5" />
</Style>
<Style Selector="TextBox:pointerover /template/ Border">
<Setter Property="Background" Value="{DynamicResource ThemeBorderMidBrush}" />
</Style>
Expand Down

0 comments on commit e4c5504

Please sign in to comment.