Create a .NET MAUI library for Buy Me a Coffee integration with branded button, QR code, and widget controls. Includes 8 theme presets (yellow, black, white, blue, violet, orange, red, green), customizable styling, and SkiaSharp-based rendering. Supports opening BMC pages in browser and generating QR codes for donations.
22 lines
673 B
C#
22 lines
673 B
C#
namespace BuyMeCofee.Maui.Constants;
|
|
|
|
public static class BmcColors
|
|
{
|
|
public const string CupYellow = "#FFDD00";
|
|
public const string BrandDark = "#0D0C22";
|
|
|
|
// Button theme backgrounds
|
|
public const string YellowBg = "#FFDD00";
|
|
public const string BlackBg = "#0D0C22";
|
|
public const string WhiteBg = "#FFFFFF";
|
|
public const string BlueBg = "#5F7FFF";
|
|
public const string VioletBg = "#BD5CFF";
|
|
public const string OrangeBg = "#FF813F";
|
|
public const string RedBg = "#FF6073";
|
|
public const string GreenBg = "#78DEC7";
|
|
|
|
// Widget
|
|
public const string WidgetPurple = "#6C5CE7";
|
|
public const string WhiteStroke = "#E0E0E0";
|
|
}
|