using System.Drawing;
using System.Windows.Forms;
using Elfisa.UI.Theming;

namespace Elfisa.UI.Controls
{
    public class ModernDateTimePicker : DateTimePicker
    {
        public ModernDateTimePicker()
        {
            Font = new Font("Segoe UI", 13f);
            Format = DateTimePickerFormat.Short;
        }

        public void ApplyTheme(ThemeColors theme)
        {
            CalendarForeColor = theme.TextPrimary;
            CalendarMonthBackground = theme.Surface;
            CalendarTitleBackColor = theme.AccentPrimary;
            CalendarTitleForeColor = theme.TextOnAccent;
            Font = theme.FontRegular13;
        }
    }
}
