feature: add two color keys Color.DecoratorBranch and Color.DecoratorTag (#225)

This commit is contained in:
leo 2024-07-01 16:27:22 +08:00
parent 6dad466eef
commit fca20965f8
No known key found for this signature in database
6 changed files with 18 additions and 18 deletions

View file

@ -1,6 +1,4 @@
using Avalonia.Media;
namespace SourceGit.Models
namespace SourceGit.Models
{
public enum DecoratorType
{
@ -17,12 +15,4 @@ namespace SourceGit.Models
public DecoratorType Type { get; set; } = DecoratorType.None;
public string Name { get; set; } = "";
}
public static class DecoratorResources
{
public static readonly IBrush[] Backgrounds = [
new SolidColorBrush(0xFF02C302),
new SolidColorBrush(0xFFFFB835),
];
}
}