1import 'package:flutter/material.dart';
2import 'package:flutter/services.dart';
3import 'package:flutter_screenutil/flutter_screenutil.dart';
4import 'package:google_fonts/google_fonts.dart';
6import 'color_palette.dart';
10 brightness: Brightness.light,
11 primaryColor: ColorPaletteV2.primaryLight,
12 colorScheme:
const ColorScheme(
13 primary: ColorPaletteV2.primaryLight,
14 primaryContainer: ColorPaletteV2.primaryVariantLight,
15 secondary: ColorPaletteV2.secondaryLight,
16 secondaryContainer: ColorPaletteV2.secondaryVariantLight,
17 surface: ColorPaletteV2.surfaceLight,
18 error: ColorPaletteV2.errorLight,
19 onPrimary: Colors.white,
20 onSecondary: Colors.white,
21 onSurface: ColorPaletteV2.textPrimaryLight,
22 onError: Colors.white,
23 brightness: Brightness.light,
25 dividerColor: ColorPaletteV2.textPrimaryLight.withOpacity(0.3),
26 scaffoldBackgroundColor: ColorPaletteV2.backgroundLight,
27 fontFamily: GoogleFonts.poppins().fontFamily,
29 displayLarge: TextStyle(
30 fontWeight: FontWeight.bold,
34 displayMedium: TextStyle(
35 fontWeight: FontWeight.w700,
36 color: ColorPaletteV2.textPrimaryLight,
39 displaySmall: TextStyle(
40 fontWeight: FontWeight.w500,
41 color: ColorPaletteV2.textPrimaryLight,
45 fontWeight: FontWeight.w300,
46 color: ColorPaletteV2.textPrimaryLight,
50 elevatedButtonTheme: ElevatedButtonThemeData(
51 style: ElevatedButton.styleFrom(
54 shape: RoundedRectangleBorder(
55 borderRadius: BorderRadius.circular(10),
57 shadowColor: ColorPaletteV2.primaryLight.withOpacity(0.11),
58 overlayColor: ColorPaletteV2.secondaryLight,
60 fontWeight: FontWeight.bold,
66 appBarTheme: AppBarTheme(
67 systemOverlayStyle: SystemUiOverlayStyle(
68 statusBarColor: Colors.transparent,
69 statusBarIconBrightness: Brightness.dark,
70 statusBarBrightness: Brightness.light,
72 systemNavigationBarIconBrightness: Brightness.dark,
final ThemeData lightTheme