mirrored_repositories/vote-bharat/Mobile Application/lib
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class MyTheme {
  static ThemeData lightTheme(BuildContext context) => ThemeData(
        primarySwatch: Colors.orange,
        fontFamily: GoogleFonts.poppins().fontFamily,
        appBarTheme: const AppBarTheme(
          color: Color(0xffffc107),
          iconTheme: IconThemeData(
            color: Colors.white,
          ),
        ),
      );

  static ThemeData darkTheme(BuildContext context) => ThemeData(
        primarySwatch: Colors.orange,
        fontFamily: GoogleFonts.poppins().fontFamily,
        appBarTheme: const AppBarTheme(
          color: Color(0xffffc107),
          iconTheme: IconThemeData(
            color: Colors.white,
          ),
        ),
      );
}
