|
|
|
@ -18,29 +18,29 @@ class AppTheme {
|
|
|
|
hintColor: Colors.grey[400],
|
|
|
|
hintColor: Colors.grey[400],
|
|
|
|
colorScheme: ColorScheme.fromSwatch(accentColor: MyColors.backgroundColor).copyWith(surfaceTint : Colors.transparent),
|
|
|
|
colorScheme: ColorScheme.fromSwatch(accentColor: MyColors.backgroundColor).copyWith(surfaceTint : Colors.transparent),
|
|
|
|
disabledColor: Colors.grey[300],
|
|
|
|
disabledColor: Colors.grey[300],
|
|
|
|
errorColor: const Color.fromRGBO(235, 80, 60, 1.0),
|
|
|
|
// errorColor: const Color.fromRGBO(235, 80, 60, 1.0),
|
|
|
|
applyElevationOverlayColor: false,
|
|
|
|
applyElevationOverlayColor: false,
|
|
|
|
scaffoldBackgroundColor: MyColors.backgroundColor,
|
|
|
|
scaffoldBackgroundColor: MyColors.backgroundColor,
|
|
|
|
textSelectionTheme: const TextSelectionThemeData(cursorColor: Colors.grey, selectionColor: Color.fromRGBO(80, 100, 253, 0.5), selectionHandleColor: Colors.grey),
|
|
|
|
textSelectionTheme: const TextSelectionThemeData(cursorColor: Colors.grey, selectionColor: Color.fromRGBO(80, 100, 253, 0.5), selectionHandleColor: Colors.grey),
|
|
|
|
canvasColor: Colors.white,
|
|
|
|
canvasColor: Colors.white,
|
|
|
|
backgroundColor: const Color.fromRGBO(255, 255, 255, 1),
|
|
|
|
// backgroundColor: const Color.fromRGBO(255, 255, 255, 1),
|
|
|
|
highlightColor: Colors.grey[100]!.withOpacity(0.4),
|
|
|
|
highlightColor: Colors.grey[100]!.withOpacity(0.4),
|
|
|
|
splashColor: Colors.transparent,
|
|
|
|
splashColor: Colors.transparent,
|
|
|
|
primaryColor: primaryColor,
|
|
|
|
primaryColor: primaryColor,
|
|
|
|
primaryColorDark: primaryColor,
|
|
|
|
primaryColorDark: primaryColor,
|
|
|
|
toggleableActiveColor: secondaryColor,
|
|
|
|
// toggleableActiveColor: secondaryColor,
|
|
|
|
indicatorColor: secondaryColor,
|
|
|
|
indicatorColor: secondaryColor,
|
|
|
|
bottomSheetTheme: const BottomSheetThemeData(
|
|
|
|
bottomSheetTheme: const BottomSheetThemeData(
|
|
|
|
backgroundColor: Color(0xFFE0E0E0),
|
|
|
|
backgroundColor: Color(0xFFE0E0E0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
primaryTextTheme: const TextTheme(
|
|
|
|
primaryTextTheme: const TextTheme(
|
|
|
|
bodyText2: TextStyle(color: Colors.white),
|
|
|
|
// bodyText2: TextStyle(color: Colors.white),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
iconTheme: const IconThemeData(color: MyColors.darkIconColor),
|
|
|
|
iconTheme: const IconThemeData(color: MyColors.darkIconColor),
|
|
|
|
textTheme: const TextTheme(
|
|
|
|
textTheme: const TextTheme(
|
|
|
|
bodyText1: TextStyle(color: Colors.black, letterSpacing: 0.6),
|
|
|
|
// bodyText1: TextStyle(color: Colors.black, letterSpacing: 0.6),
|
|
|
|
headline1: TextStyle(color: Colors.white, letterSpacing: 0.6),
|
|
|
|
// headline1: TextStyle(color: Colors.white, letterSpacing: 0.6),
|
|
|
|
headline2: TextStyle(color: Colors.white, letterSpacing: 0.6),
|
|
|
|
// headline2: TextStyle(color: Colors.white, letterSpacing: 0.6),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
floatingActionButtonTheme: const FloatingActionButtonThemeData(highlightElevation: 2, disabledElevation: 0, elevation: 2),
|
|
|
|
floatingActionButtonTheme: const FloatingActionButtonThemeData(highlightElevation: 2, disabledElevation: 0, elevation: 2),
|
|
|
|
appBarTheme: AppBarTheme(
|
|
|
|
appBarTheme: AppBarTheme(
|
|
|
|
|