import '../../food_delivery_client.dart';

abstract class AppTheme {
  static ThemeData get lightTheme => ThemeData.light().copyWith(
    brightness: Brightness.light,

    // colorScheme: ColorScheme(
    //   brightness: Brightness.light,
    //   primary: AppColors.cFFFFFF,
    //   onPrimary:AppColors.cFFFFFF,
    //   secondary: AppColors.cFFFFFF,
    //   onSecondary: AppColors.cFFFFFF,
    //   error:AppColors.cRed,
    //   onError: AppColors.cRed,
    //   surface: AppColors.cFFFFFF,
    //   onSurface: AppColors.cFFFFFF,
    // ),
    appBarTheme: AppBarTheme(
      elevation: 0,
      backgroundColor: AppColors.cFFFFFF,
      foregroundColor: AppColors.cFFFFFF,
      surfaceTintColor: AppColors.cTransparent,
    ),
    scaffoldBackgroundColor: AppColors.cFFFFFF,

    progressIndicatorTheme: ProgressIndicatorThemeData(
      color: AppColors.cFFFFFF,
      circularTrackColor: AppColors.cFFFFFF,
      linearTrackColor: AppColors.cFFFFFF,
      borderRadius: BorderRadiusGeometry.circular(30),
    ),

    pageTransitionsTheme: PageTransitionsTheme(
      builders: {
        TargetPlatform.android: CupertinoPageTransitionsBuilder(),
        TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
      },
    ),
    bottomNavigationBarTheme: BottomNavigationBarThemeData(
      elevation: 0,
      showSelectedLabels: true,
      showUnselectedLabels: true,
      backgroundColor: AppColors.cFFFFFF,
      type: BottomNavigationBarType.fixed,
      unselectedItemColor: AppColors.cB5B5B5,
      selectedItemColor: AppColors.c000000,
      selectedLabelStyle: AppTextStyles.size10Regular.copyWith(
        color: Colors.red,
      ),
      unselectedLabelStyle: AppTextStyles.size10Regular.copyWith(
        color: AppColors.c000000,
      ),
      // unselectedLabelStyle: AppTextStyles.size14Medium.copyWith(
      //   color: AppColors.c888888,
      //   fontFamily: "fontNorms",
      // ),
    ),
    // inputDecorationTheme: InputDecorationTheme(
    //   filled: true,
    //   fillColor: AppColors.cMainBg,
    //   hintStyle: AppTextStyles.size15Medium.copyWith(color: AppColors.c888888),
    //   contentPadding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 10.h),
    //   errorStyle: AppTextStyles.size12Medium.copyWith(color: AppColors.cRed),
    //   errorBorder: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cRed, width: 1.5.r),
    //   ),
    //   focusedBorder: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cFF9914, width: 1.5.r),
    //   ),
    //   enabledBorder: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cEDEDED, width: 1.5.r),
    //   ),
    //   focusedErrorBorder: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cRed, width: 1.5.r),
    //   ),
    //   disabledBorder: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cEDEDED, width: 1.5.r),
    //   ),
    //   border: OutlineInputBorder(
    //     borderRadius: BorderRadius.circular(12.sp),
    //     borderSide: BorderSide(color: AppColors.cEDEDED, width: 1.5.r),
    //   ),
    // ),
  );
}
