1import 'package:flutter/services.dart';
3import '/core/ui/theme/color_palette.dart';
4import 'package:flutter/material.dart';
5import 'package:flutter_screenutil/flutter_screenutil.dart';
6import 'package:google_fonts/google_fonts.dart';
10 brightness: Brightness.dark,
11 primaryColor: ColorPaletteV2.primaryDark,
12 colorScheme:
const ColorScheme(
13 primary: ColorPaletteV2.primaryDark,
14 primaryContainer: ColorPaletteV2.primaryVariantDark,
15 secondary: ColorPaletteV2.secondaryDark,
16 secondaryContainer: ColorPaletteV2.secondaryVariantDark,
17 surface: ColorPaletteV2.surfaceDark,
18 error: ColorPaletteV2.errorDark,
19 onPrimary: Colors.white,
20 onSecondary: Colors.black,
21 onSurface: ColorPaletteV2.textPrimaryDark,
22 onError: Colors.black,
23 brightness: Brightness.dark,
25 dividerColor: ColorPaletteV2.textPrimaryDark.withOpacity(0.3),
26 scaffoldBackgroundColor: ColorPaletteV2.backgroundDark,
27 fontFamily: GoogleFonts.poppins().fontFamily,
29 displayLarge: TextStyle(
30 fontWeight: FontWeight.bold,
31 color: ColorPaletteV2.textPrimaryDark,
34 displayMedium: TextStyle(
35 fontWeight: FontWeight.w700,
36 color: ColorPaletteV2.textPrimaryDark,
39 displaySmall: TextStyle(
40 fontWeight: FontWeight.w500,
41 color: ColorPaletteV2.textPrimaryDark,
45 fontWeight: FontWeight.w300,
46 color: ColorPaletteV2.textPrimaryDark,
50 elevatedButtonTheme: ElevatedButtonThemeData(
51 style: ElevatedButton.styleFrom(
52 padding: EdgeInsets.symmetric(vertical: 18.sp),
53 shadowColor: ColorPaletteV2.primaryDark.withOpacity(0.11),
54 overlayColor: ColorPaletteV2.secondaryLight,
56 shape: RoundedRectangleBorder(
57 borderRadius: BorderRadius.circular(10),
60 fontWeight: FontWeight.bold,
66 appBarTheme: AppBarTheme(
67 systemOverlayStyle: SystemUiOverlayStyle(
68 statusBarColor: Colors.transparent,
69 statusBarIconBrightness: Brightness.light,
70 statusBarBrightness: Brightness.dark,
72 systemNavigationBarIconBrightness: Brightness.light,
final ThemeData darkTheme