light static method
Implementation
static ThemeData light() {
final colorScheme = ColorScheme.fromSeed(
seedColor: NeomageColors.amber,
brightness: Brightness.light,
surface: NeomageColors.lightSurface,
onSurface: NeomageColors.lightTextPrimary,
error: NeomageColors.error,
);
return ThemeData(
useMaterial3: true,
brightness: Brightness.light,
colorScheme: colorScheme,
scaffoldBackgroundColor: NeomageColors.lightBg,
appBarTheme: const AppBarTheme(
centerTitle: false,
elevation: 0,
scrolledUnderElevation: 1,
backgroundColor: NeomageColors.lightSurface,
foregroundColor: NeomageColors.lightTextPrimary,
),
cardTheme: CardThemeData(
elevation: 0,
color: NeomageColors.lightCard,
shape: RoundedRectangleBorder(
borderRadius: NeomageRadius.borderLg,
side: const BorderSide(color: NeomageColors.lightBorder, width: 0.5),
),
),
inputDecorationTheme: InputDecorationTheme(
filled: true,
fillColor: NeomageColors.lightElevated,
border: OutlineInputBorder(borderRadius: NeomageRadius.borderMd),
contentPadding: const EdgeInsets.symmetric(
horizontal: 12,
vertical: 10,
),
),
dividerTheme: const DividerThemeData(
color: NeomageColors.lightBorder,
thickness: 0.5,
),
tooltipTheme: TooltipThemeData(
decoration: BoxDecoration(
color: NeomageColors.lightTextPrimary,
borderRadius: NeomageRadius.borderSm,
),
textStyle: NeomageTypography.caption.copyWith(color: NeomageColors.lightBg),
),
);
}