LokotroPayThemeConfig.light constructor
LokotroPayThemeConfig.light({})
Light theme — clean white background, near-black text.
Brand colors fall back to host app's Theme.of(context).colorScheme if null.
Implementation
factory LokotroPayThemeConfig.light({
Color? primaryColor,
Color? secondaryColor,
Color? tertiaryColor,
Color? backgroundColor,
double? borderRadius,
}) {
return LokotroPayThemeConfig(
theme: LokotroPayTheme.light,
primaryColor: primaryColor,
secondaryColor: secondaryColor,
tertiaryColor: tertiaryColor,
backgroundColor: backgroundColor ?? Colors.white,
surfaceColor: const Color(0xFFF7F8FA),
textColor: const Color(0xFF0F172A),
secondaryTextColor: const Color(0xFF64748B),
borderColor: const Color(0xFFE2E8F0),
errorColor: LokotroPayColors.error,
successColor: LokotroPayColors.success,
borderRadius: borderRadius ?? 12.0,
inputPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
);
}