65 lines
2.4 KiB
C#
65 lines
2.4 KiB
C#
namespace Nejcraft.Shared.Parts
|
|
{
|
|
public class Colors
|
|
{
|
|
public enum ColorType
|
|
{
|
|
Error,
|
|
Accent,
|
|
Accent2,
|
|
Accent3,
|
|
Accent4,
|
|
Accent5,
|
|
}
|
|
|
|
public static Dictionary<ColorType, string> BgColors = new Dictionary<ColorType, string>()
|
|
{
|
|
{ColorType.Error, "bg-red-600"},
|
|
{ColorType.Accent, "bg-accent"},
|
|
{ColorType.Accent2, "bg-accent2"},
|
|
{ColorType.Accent3, "bg-accent3"},
|
|
{ColorType.Accent4, "bg-accent4"},
|
|
{ColorType.Accent5, "bg-accent5"},
|
|
};
|
|
|
|
public static Dictionary<ColorType, string> BgColorsHover = new Dictionary<ColorType, string>()
|
|
{
|
|
{ColorType.Error, "hover:bg-red-700"},
|
|
{ColorType.Accent, "hover:bg-accent-dark"},
|
|
{ColorType.Accent2, "hover:bg-accent2-dark"},
|
|
{ColorType.Accent3, "hover:bg-accent3-dark"},
|
|
{ColorType.Accent4, "hover:bg-accent4-dark"},
|
|
{ColorType.Accent5, "hover:bg-accent5-dark"},
|
|
};
|
|
|
|
public static Dictionary<ColorType, string> BgColorsDisabled = new Dictionary<ColorType, string>()
|
|
{
|
|
{ColorType.Error, "disabled:bg-red-700"},
|
|
{ColorType.Accent, "disabled:bg-accent-dark"},
|
|
{ColorType.Accent2, "disabled:bg-accent2-dark"},
|
|
{ColorType.Accent3, "disabled:bg-accent3-dark"},
|
|
{ColorType.Accent4, "disabled:bg-accent4-dark"},
|
|
{ColorType.Accent5, "disabled:bg-accent5-dark"},
|
|
};
|
|
|
|
public static Dictionary<ColorType, string> TextColors = new Dictionary<ColorType, string>()
|
|
{
|
|
{ColorType.Error, "text-red-600"},
|
|
{ColorType.Accent, "text-accent"},
|
|
{ColorType.Accent2, "text-accent2"},
|
|
{ColorType.Accent3, "text-accent3"},
|
|
{ColorType.Accent4, "text-accent4"},
|
|
{ColorType.Accent5, "text-accent5"},
|
|
};
|
|
public static Dictionary<ColorType, string> TextColorsHover = new Dictionary<ColorType, string>()
|
|
{
|
|
{ColorType.Error, "hover:text-red-700"},
|
|
{ColorType.Accent, "hover:text-accent-dark"},
|
|
{ColorType.Accent2, "hover:text-accent2-dark"},
|
|
{ColorType.Accent3, "hover:text-accent3-dark"},
|
|
{ColorType.Accent4, "hover:text-accent4-dark"},
|
|
{ColorType.Accent5, "hover:text-accent5-dark"},
|
|
};
|
|
}
|
|
}
|