Skip to content

Commit

Permalink
flat button invert pointerover opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
kikipoulet committed Dec 17, 2024
1 parent 5c284b9 commit 0efb25b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SukiUI/Theme/Button.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
<Style Selector="^.Flat">
<Setter Property="Padding" Value="20,8,20,8" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor75}" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor}" />
<Setter Property="Foreground" Value="White" />
<Setter Property="Transitions">
<Transitions>
Expand All @@ -313,10 +313,10 @@
</Style>
<!-- Events -->
<Style Selector="^:pointerover">
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor}" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor75}" />
</Style>
<Style Selector="^:pressed /template/ Border">
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor}" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor75}" />
</Style>

<!-- Color Variants -->
Expand Down

0 comments on commit 0efb25b

Please sign in to comment.