light static method
Generate a light theme with optional custom colors
Implementation
static ThemeData light([SACThemeConfig? config]) {
final colors = _resolveColors(config, false);
final lightScheme = ColorScheme.fromSeed(
seedColor: colors.primary,
brightness: Brightness.light,
primary: colors.primary,
secondary: colors.secondary,
surface: colors.surface,
error: colors.error,
onPrimary: AppColors.white,
onSecondary: AppColors.black,
onSurface: colors.textPrimary,
onError: AppColors.white,
);
return _buildTheme(
brightness: Brightness.light,
colors: colors,
scheme: lightScheme,
config: config,
);
}