mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 08:04:59 +00:00
27 lines
No EOL
573 B
C#
27 lines
No EOL
573 B
C#
using Avalonia.Media;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public enum DecoratorType
|
|
{
|
|
None,
|
|
CurrentBranchHead,
|
|
LocalBranchHead,
|
|
RemoteBranchHead,
|
|
Tag,
|
|
}
|
|
|
|
public class Decorator
|
|
{
|
|
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),
|
|
];
|
|
}
|
|
} |