dsDarkTheme top-level property
Implementation
final ThemeData dsDarkTheme = ThemeData.dark().copyWith(
scaffoldBackgroundColor: DSColors.dark,
primaryColor: DSColors.primary,
appBarTheme: AppBarTheme(
backgroundColor: DSColors.primary,
toolbarHeight: 70,
),
textTheme: const TextTheme(
displayLarge: DSTypography.headline1,
displayMedium: DSTypography.headline2,
bodyLarge: DSTypography.body,
bodySmall: DSTypography.caption,
),
inputDecorationTheme: InputDecorationTheme(
filled: true,
fillColor: DSColors.secondary,
contentPadding: const EdgeInsets.symmetric(vertical: 20, horizontal: 16),
border: OutlineInputBorder(borderRadius: BorderRadius.circular(DSRadius.md), borderSide: BorderSide.none),
// ignore: deprecated_member_use
hintStyle: DSTypography.body.copyWith(color: DSColors.light.withOpacity(0.6)),
),
);