// import 'package:diplomaticquarterapp/Constants.dart';
// import 'package:flutter/material.dart';
// import 'package:hexcolor/hexcolor.dart';

// import 'colors.dart';

// class CustomTheme with ChangeNotifier {
//   static bool _isDarkTheme = true;
//   ThemeMode get currentTheme =>
//       _isDarkTheme ? ThemeMode.dark : ThemeMode.system;

//   void toggleTheme() {
//     _isDarkTheme = !_isDarkTheme;
//     notifyListeners();
//   }

//   static ThemeData get lightTheme {
//     //1
//     return ThemeData(
//         //2
//         primaryColor: CustomColors.purple,
//         scaffoldBackgroundColor: Colors.white,
//         fontFamily: 'Montserrat', //3
//         buttonTheme: ButtonThemeData(
//           // 4
//           shape:
//               RoundedRectangleBorder(borderRadius: BorderRadius.circular(18.0)),
//           buttonColor: CustomColors.lightPurple,
//         ));
//   }

//   static ThemeData get darkTheme {
//     return ThemeData(
//         primaryColor: CustomColors.darkGrey,
//         scaffoldBackgroundColor: Colors.black,
//         fontFamily: 'Montserrat',
//         textTheme: ThemeData.dark().textTheme,
//         buttonTheme: ButtonThemeData(
//           shape:
//               RoundedRectangleBorder(borderRadius: BorderRadius.circular(18.0)),
//           buttonColor: CustomColors.lightPurple,
//         ));
//   }

//   static ThemeData get defaultTheme {
//     return ThemeData(
//       // fontFamily: projectProvider.isArabic ? 'Cairo' : 'WorkSans',
//       primarySwatch: Colors.blue,
//       visualDensity: VisualDensity.adaptivePlatformDensity,
//       brightness: Brightness.light,
//       pageTransitionsTheme: const PageTransitionsTheme(
//         builders: {
//           TargetPlatform.android: ZoomPageTransitionsBuilder(),
//           TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
//         },
//       ),
//       hintColor: Colors.grey[400],
//       textTheme: TextTheme(
//         headline1: TextStyle(
//           color: Color(0xffB8382C),
//         ),
//       ),
//       disabledColor: Colors.grey[300],
//       errorColor: Color.fromRGBO(235, 80, 60, 1.0),
//       scaffoldBackgroundColor: Color(0xffE9E9E9), // Colors.grey[100],
//       textSelectionColor: Color.fromRGBO(80, 100, 253, 0.5),
//       textSelectionHandleColor: Colors.grey,
//       canvasColor: Colors.white,
//       backgroundColor: Color.fromRGBO(255, 255, 255, 1),
//       highlightColor: Colors.grey[100].withOpacity(0.4),
//       splashColor: Colors.transparent,
//       primaryColor: Color(0xff515A5D),
//       toggleableActiveColor: secondaryColor,
//       indicatorColor: secondaryColor,
//       bottomSheetTheme:
//           BottomSheetThemeData(backgroundColor: HexColor('#E0E0E0')),
//       cursorColor: Colors.grey,
//       iconTheme: IconThemeData(),
//       appBarTheme: AppBarTheme(
//         color: Color(0xff515A5D),
//         brightness: Brightness.light,
//         elevation: 0.0,
//         actionsIconTheme: IconThemeData(
//           color: Colors.grey[800],
//         ),
//       ),
//     );
//   }
// }
