-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
456 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,53 @@ | ||
using Avalonia.Media; | ||
using Avalonia; | ||
using Avalonia.Media; | ||
using Avalonia.Styling; | ||
|
||
namespace SukiUI.ColorTheme; | ||
|
||
public static class NotificationColor | ||
{ | ||
public static readonly SolidColorBrush InfoIconForeground = new(Color.FromRgb(47,84,235)); | ||
public static readonly SolidColorBrush SuccessIconForeground = new(Color.FromRgb(56,158,13)); | ||
public static readonly SolidColorBrush WarningIconForeground = new(Color.FromRgb(240,140,22)); | ||
public static readonly SolidColorBrush ErrorIconForeground = new(Color.FromRgb(236,63,48)); | ||
public static readonly LinearGradientBrush InfoIconForeground = new LinearGradientBrush() | ||
{ | ||
EndPoint = new RelativePoint(0, 0, RelativeUnit.Relative), | ||
StartPoint = new RelativePoint(1, 1, RelativeUnit.Relative), | ||
GradientStops = new GradientStops() | ||
{ | ||
new() { Color = Color.FromRgb(89,126,247), Offset = 0.3 }, | ||
new() { Color = Color.FromRgb(47,84,235), Offset = 1 }, | ||
|
||
} | ||
}; | ||
public static readonly LinearGradientBrush SuccessIconForeground = new LinearGradientBrush() | ||
{ | ||
EndPoint = new RelativePoint(0, 0, RelativeUnit.Relative), | ||
StartPoint = new RelativePoint(1, 1, RelativeUnit.Relative), | ||
GradientStops = new GradientStops() | ||
{ | ||
new() { Color = Color.FromRgb(82,196,26), Offset = 0.3 }, | ||
new() { Color = Color.FromRgb(56,158,13), Offset = 1 }, | ||
|
||
} | ||
}; | ||
public static readonly LinearGradientBrush WarningIconForeground = new LinearGradientBrush() | ||
{ | ||
EndPoint = new RelativePoint(0, 0, RelativeUnit.Relative), | ||
StartPoint = new RelativePoint(1, 1, RelativeUnit.Relative), | ||
GradientStops = new GradientStops() | ||
{ | ||
new() { Color = Color.FromRgb(255,169,64), Offset = 0.3 }, | ||
new() { Color = Color.FromRgb(250,140,22), Offset = 1 }, | ||
|
||
} | ||
}; | ||
public static readonly LinearGradientBrush ErrorIconForeground = new LinearGradientBrush() | ||
{ | ||
EndPoint = new RelativePoint(0, 0, RelativeUnit.Relative), | ||
StartPoint = new RelativePoint(1, 1, RelativeUnit.Relative), | ||
GradientStops = new GradientStops() | ||
{ | ||
new() { Color = Color.FromRgb(255,77,79), Offset = 0.3 }, | ||
new() { Color = Color.FromRgb(245,34,45), Offset = 1 }, | ||
|
||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
vec4 main(vec2 fragCoord) { | ||
|
||
if(iDark == 1) | ||
return vec4(iBase * 0.7, iAlpha); | ||
return vec4(iBase * 1, iAlpha); | ||
|
||
return vec4(iBase, iAlpha); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.