using System.Drawing;



namespace Elfisa.UI.Theming

{

    /// <summary>

    /// Вариант E — Pharma Trust (ui-ux-pro-max: Pharmacy Green + Trust Blue).

    /// Макет: elfisa-design/desktop/variant-e-pharma-trust.html

    /// </summary>

    public sealed class PharmaTrustPalette : IThemePalette

    {

        public ThemeVariant Variant => ThemeVariant.PharmaTrust;



        public ThemeColors Colors { get; } = new ThemeColors

        {

            Name = "Pharma Trust",

            Mode = ThemeMode.Light,

            BackgroundPrimary = Color.FromArgb(240, 253, 244),

            BackgroundSecondary = Color.FromArgb(240, 253, 244),

            Surface = Color.White,

            SurfaceElevated = Color.White,

            Border = Color.FromArgb(187, 247, 208),

            BorderSubtle = Color.FromArgb(236, 253, 245),

            TextPrimary = Color.FromArgb(20, 83, 45),

            TextSecondary = Color.FromArgb(55, 65, 81),

            TextMuted = Color.FromArgb(75, 85, 99),

            TextOnAccent = Color.White,

            AccentPrimary = Color.FromArgb(3, 105, 161),

            AccentPrimaryHover = Color.FromArgb(7, 89, 133),

            AccentPrimaryPressed = Color.FromArgb(12, 74, 110),

            AccentPrimarySoft = Color.FromArgb(236, 253, 245),

            AccentPrimaryBorder = Color.FromArgb(147, 197, 253),

            AccentSecondary = Color.White,

            Success = Color.FromArgb(21, 128, 61),

            SuccessSoft = Color.FromArgb(220, 252, 231),

            Warning = Color.FromArgb(217, 119, 6),

            WarningSoft = Color.FromArgb(254, 243, 199),

            Danger = Color.FromArgb(220, 38, 38),

            DangerSoft = Color.FromArgb(254, 226, 226),

            Info = Color.FromArgb(3, 105, 161),

            InfoSoft = Color.FromArgb(239, 246, 255),

            TitleBarTop = Color.FromArgb(22, 101, 52),

            TitleBarBottom = Color.FromArgb(34, 197, 94),

            NavBackground = Color.White,

            CartHeaderBackground = Color.FromArgb(236, 253, 245),

            ToolbarBackground = Color.FromArgb(247, 254, 249),

            SectionHeaderBackground = Color.FromArgb(220, 252, 231),

            SidebarBackground = Color.White,

            SidebarItem = Color.FromArgb(75, 85, 99),

            SidebarItemHover = Color.FromArgb(240, 253, 244),

            SidebarItemActive = Color.FromArgb(220, 252, 231),

            SidebarItemActiveText = Color.FromArgb(21, 128, 61),

            GridHeaderBackground = Color.FromArgb(220, 252, 231),

            GridHeaderForeground = Color.FromArgb(20, 83, 45),

            GridRowBackground = Color.White,

            GridRowAlternate = Color.FromArgb(247, 254, 249),

            GridRowHover = Color.FromArgb(240, 253, 244),

            GridRowSelected = Color.FromArgb(3, 105, 161),

            GridRowSelectedText = Color.White,

            GridBorder = Color.FromArgb(236, 253, 245),

            InputBackground = Color.White,

            InputBorder = Color.FromArgb(187, 247, 208),

            InputBorderFocus = Color.FromArgb(21, 128, 61),

            OverlayScrim = Color.FromArgb(160, 20, 83, 45),

            Shadow = Color.FromArgb(36, 20, 83, 45),

            ScrollbarThumb = Color.FromArgb(134, 239, 172),

            ScrollbarTrack = Color.FromArgb(240, 253, 244),

            CornerRadiusSmall = 6,

            CornerRadiusMedium = 8,

            GridRowHeight = 36,

            GridHeaderHeight = 34

        };



        public PharmaTrustPalette()

        {

            Colors.FontRegular12 = new Font("Segoe UI", 12f);

            Colors.FontRegular13 = new Font("Segoe UI", 13f);

            Colors.FontRegular14 = new Font("Segoe UI", 14f);

            Colors.FontSemibold14 = new Font("Segoe UI Semibold", 14f);

            Colors.FontSemibold16 = new Font("Segoe UI Semibold", 16f);

            Colors.FontBold18 = new Font("Segoe UI", 18f, FontStyle.Bold);

        }

    }

}


