Skip to content

Commit

Permalink
gradient overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
kikipoulet committed Oct 9, 2024
1 parent 4cefbd8 commit 89cd006
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SukiUI/ColorTheme/Dark.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<BoxShadows x:Key="SukiBigPopupShadow">1 4 17 0 #111111</BoxShadows>

<LinearGradientBrush x:Key="PopupGradientBrush" StartPoint="0%,0%" EndPoint="100%,100%">
<GradientStop Color="{DynamicResource SukiAccentColor3}" Offset="0"></GradientStop>
<GradientStop Color="{DynamicResource SukiPrimaryColor3}" Offset="0"></GradientStop>
<GradientStop Color="{DynamicResource SukiPrimaryColor10}" Offset="0.9"></GradientStop>

</LinearGradientBrush>
Expand Down
6 changes: 3 additions & 3 deletions SukiUI/ColorTheme/Light.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=netstandard">
<Color x:Key="SukiBackground">Transparent</Color>
<Color x:Key="SukiStrongBackground">#fafafa</Color>
<Color x:Key="SukiStrongBackground">#fcfcfc</Color>
<Color x:Key="SukiLightBackground">Transparent</Color>
<Color x:Key="SukiCardBackground">White</Color>
<Color x:Key="SukiGlassCardBackground">#fdfefefe</Color>
Expand All @@ -27,8 +27,8 @@
<BoxShadows x:Key="SukiBigPopupShadow">1 4 17 0 #999999</BoxShadows>

<LinearGradientBrush x:Key="PopupGradientBrush" StartPoint="0%,0%" EndPoint="100%,100%">
<GradientStop Color="{DynamicResource SukiAccentColor5}" Offset="0"></GradientStop>
<GradientStop Color="{DynamicResource SukiPrimaryColor5}" Offset="1"></GradientStop>
<GradientStop Color="#03111111" Offset="0"></GradientStop>
<GradientStop Color="#02111111" Offset="1"></GradientStop>

</LinearGradientBrush>

Expand Down
2 changes: 1 addition & 1 deletion SukiUI/Controls/SukiWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public bool BackgroundAnimationEnabled

public static readonly StyledProperty<SukiBackgroundStyle> BackgroundStyleProperty =
AvaloniaProperty.Register<SukiWindow, SukiBackgroundStyle>(nameof(BackgroundStyle),
defaultValue: SukiBackgroundStyle.Bubble);
defaultValue: SukiBackgroundStyle.Gradient);

/// <inheritdoc cref="SukiBackground.Style"/>
public SukiBackgroundStyle BackgroundStyle
Expand Down

0 comments on commit 89cd006

Please sign in to comment.