dark static method
Dark theme and its settings.
Implementation
static ThemeData dark() => ThemeData().copyWith(
visualDensity: visualDensity,
textTheme: const TextTheme(
titleLarge: TextStyle(
color: AppColors.textLigth,
fontSize: 17,
),
titleMedium: TextStyle(
color: AppColors.textLigth,
fontSize: 11,
letterSpacing: 0.3,
),
bodyLarge: TextStyle(
fontSize: 11,
color: AppColors.textFaded,
),
bodyMedium: TextStyle(
fontSize: 11,
color: AppColors.textFaded,
),
bodySmall: TextStyle(
fontSize: 11,
color: AppColors.textFaded,
),
),
scaffoldBackgroundColor: const Color(0xFF1B1E1F),
cardColor: AppColors.cardDark,
iconTheme: const IconThemeData(color: AppColors.iconLight),
colorScheme: ThemeData()
.colorScheme
.copyWith(secondary: AppColors.accent)
.copyWith(surface: const Color(0xFF1B1E1F)),
);