|  | @@ -6,6 +6,13 @@ enum ThemeType {
 | 
											
												
													
														|  |    dark,
 |  |    dark,
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +//Color Pallettes
 | 
											
												
													
														|  | 
 |  | +const _black = Color(0xff000000);
 | 
											
												
													
														|  | 
 |  | +const _grey = Color(0xff808080);
 | 
											
												
													
														|  | 
 |  | +const _white = Color(0xFFFFFFFF);
 | 
											
												
													
														|  | 
 |  | +const _gray_shade200 = Color(0xFFEEEEEE);
 | 
											
												
													
														|  | 
 |  | +const _main2 = Color(0xff00b7ea);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  class AppTheme {
 |  |  class AppTheme {
 | 
											
												
													
														|  |    static ThemeType defaultTheme = ThemeType.light;
 |  |    static ThemeType defaultTheme = ThemeType.light;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -39,19 +46,20 @@ class AppTheme {
 | 
											
												
													
														|  |    late Color tint7;
 |  |    late Color tint7;
 | 
											
												
													
														|  |    late Color tint8;
 |  |    late Color tint8;
 | 
											
												
													
														|  |    late Color tint9;
 |  |    late Color tint9;
 | 
											
												
													
														|  | 
 |  | +  late Color textColor;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    late Color main1;
 |  |    late Color main1;
 | 
											
												
													
														|  |    late Color main2;
 |  |    late Color main2;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    /// Default constructor
 |  |    /// Default constructor
 | 
											
												
													
														|  | -  AppTheme({this.isDark = true});
 |  | 
 | 
											
												
													
														|  | 
 |  | +  AppTheme({this.isDark = false});
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    /// fromType factory constructor
 |  |    /// fromType factory constructor
 | 
											
												
													
														|  |    factory AppTheme.fromType(ThemeType t) {
 |  |    factory AppTheme.fromType(ThemeType t) {
 | 
											
												
													
														|  |      switch (t) {
 |  |      switch (t) {
 | 
											
												
													
														|  |        case ThemeType.light:
 |  |        case ThemeType.light:
 | 
											
												
													
														|  |          return AppTheme(isDark: false)
 |  |          return AppTheme(isDark: false)
 | 
											
												
													
														|  | -          ..surface = Colors.white
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..surface = _gray_shade200
 | 
											
												
													
														|  |            ..hover = const Color(0xFFe0f8ff) //
 |  |            ..hover = const Color(0xFFe0f8ff) //
 | 
											
												
													
														|  |            ..selector = const Color(0xfff2fcff)
 |  |            ..selector = const Color(0xfff2fcff)
 | 
											
												
													
														|  |            ..red = const Color(0xfffb006d)
 |  |            ..red = const Color(0xfffb006d)
 | 
											
										
											
												
													
														|  | @@ -63,8 +71,8 @@ class AppTheme {
 | 
											
												
													
														|  |            ..shader4 = const Color(0xffbdbdbd)
 |  |            ..shader4 = const Color(0xffbdbdbd)
 | 
											
												
													
														|  |            ..shader5 = const Color(0xffe0e0e0)
 |  |            ..shader5 = const Color(0xffe0e0e0)
 | 
											
												
													
														|  |            ..shader6 = const Color(0xfff2f2f2)
 |  |            ..shader6 = const Color(0xfff2f2f2)
 | 
											
												
													
														|  | -          ..shader7 = const Color(0xffffffff)
 |  | 
 | 
											
												
													
														|  | -          ..bg1 = const Color(0xfff7f8fc)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..shader7 = _gray_shade200
 | 
											
												
													
														|  | 
 |  | +          ..bg1 = _gray_shade200
 | 
											
												
													
														|  |            ..bg2 = const Color(0xffedeef2)
 |  |            ..bg2 = const Color(0xffedeef2)
 | 
											
												
													
														|  |            ..bg3 = const Color(0xffe2e4eb)
 |  |            ..bg3 = const Color(0xffe2e4eb)
 | 
											
												
													
														|  |            ..bg4 = const Color(0xff2c144b)
 |  |            ..bg4 = const Color(0xff2c144b)
 | 
											
										
											
												
													
														|  | @@ -78,49 +86,51 @@ class AppTheme {
 | 
											
												
													
														|  |            ..tint8 = const Color(0xffdefff1)
 |  |            ..tint8 = const Color(0xffdefff1)
 | 
											
												
													
														|  |            ..tint9 = const Color(0xffdefff1)
 |  |            ..tint9 = const Color(0xffdefff1)
 | 
											
												
													
														|  |            ..main1 = const Color(0xff00bcf0)
 |  |            ..main1 = const Color(0xff00bcf0)
 | 
											
												
													
														|  | -          ..main2 = const Color(0xff00b7ea);
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..main2 = const Color(0xff00b7ea)
 | 
											
												
													
														|  | 
 |  | +          ..textColor = _black;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |        case ThemeType.dark:
 |  |        case ThemeType.dark:
 | 
											
												
													
														|  |          return AppTheme(isDark: true)
 |  |          return AppTheme(isDark: true)
 | 
											
												
													
														|  | -          ..surface = const Color(0xff252525)
 |  | 
 | 
											
												
													
														|  | -          ..hover = const Color(0xFFe0f8ff) //
 |  | 
 | 
											
												
													
														|  | -          ..selector = const Color(0xfff2fcff)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..surface = _black
 | 
											
												
													
														|  | 
 |  | +          ..hover = _main2
 | 
											
												
													
														|  | 
 |  | +          ..selector = _black
 | 
											
												
													
														|  |            ..red = const Color(0xfffb006d)
 |  |            ..red = const Color(0xfffb006d)
 | 
											
												
													
														|  |            ..yellow = const Color(0xffffd667)
 |  |            ..yellow = const Color(0xffffd667)
 | 
											
												
													
														|  |            ..green = const Color(0xff66cf80)
 |  |            ..green = const Color(0xff66cf80)
 | 
											
												
													
														|  | -          ..shader1 = const Color(0xff333333)
 |  | 
 | 
											
												
													
														|  | -          ..shader2 = const Color(0xff4f4f4f)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..shader1 = _white
 | 
											
												
													
														|  | 
 |  | +          ..shader2 = const Color(0xffffffff)
 | 
											
												
													
														|  |            ..shader3 = const Color(0xff828282)
 |  |            ..shader3 = const Color(0xff828282)
 | 
											
												
													
														|  |            ..shader4 = const Color(0xffbdbdbd)
 |  |            ..shader4 = const Color(0xffbdbdbd)
 | 
											
												
													
														|  | -          ..shader5 = const Color(0xffe0e0e0)
 |  | 
 | 
											
												
													
														|  | -          ..shader6 = const Color(0xfff2f2f2)
 |  | 
 | 
											
												
													
														|  | -          ..shader7 = const Color(0xffffffff)
 |  | 
 | 
											
												
													
														|  | -          ..bg1 = const Color(0xfff7f8fc)
 |  | 
 | 
											
												
													
														|  | -          ..bg2 = const Color(0xffedeef2)
 |  | 
 | 
											
												
													
														|  | -          ..bg3 = const Color(0xffe2e4eb)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..shader5 = _white
 | 
											
												
													
														|  | 
 |  | +          ..shader6 = _black
 | 
											
												
													
														|  | 
 |  | +          ..shader7 = _black
 | 
											
												
													
														|  | 
 |  | +          ..bg1 = _black
 | 
											
												
													
														|  | 
 |  | +          ..bg2 = _black
 | 
											
												
													
														|  | 
 |  | +          ..bg3 = _grey
 | 
											
												
													
														|  |            ..bg4 = const Color(0xff2c144b)
 |  |            ..bg4 = const Color(0xff2c144b)
 | 
											
												
													
														|  |            ..tint1 = const Color(0xffe8e0ff)
 |  |            ..tint1 = const Color(0xffe8e0ff)
 | 
											
												
													
														|  |            ..tint2 = const Color(0xffffe7fd)
 |  |            ..tint2 = const Color(0xffffe7fd)
 | 
											
												
													
														|  |            ..tint3 = const Color(0xffffe7ee)
 |  |            ..tint3 = const Color(0xffffe7ee)
 | 
											
												
													
														|  |            ..tint4 = const Color(0xffffefe3)
 |  |            ..tint4 = const Color(0xffffefe3)
 | 
											
												
													
														|  |            ..tint5 = const Color(0xfffff2cd)
 |  |            ..tint5 = const Color(0xfffff2cd)
 | 
											
												
													
														|  | -          ..tint6 = const Color(0xfff5ffdc)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..tint6 = _black
 | 
											
												
													
														|  |            ..tint7 = const Color(0xffddffd6)
 |  |            ..tint7 = const Color(0xffddffd6)
 | 
											
												
													
														|  |            ..tint8 = const Color(0xffdefff1)
 |  |            ..tint8 = const Color(0xffdefff1)
 | 
											
												
													
														|  |            ..tint9 = const Color(0xffdefff1)
 |  |            ..tint9 = const Color(0xffdefff1)
 | 
											
												
													
														|  |            ..main1 = const Color(0xff00bcf0)
 |  |            ..main1 = const Color(0xff00bcf0)
 | 
											
												
													
														|  | -          ..main2 = const Color(0xff00b7ea);
 |  | 
 | 
											
												
													
														|  | 
 |  | +          ..main2 = const Color(0xff00b7ea)
 | 
											
												
													
														|  | 
 |  | +          ..textColor = _white;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    ThemeData get themeData {
 |  |    ThemeData get themeData {
 | 
											
												
													
														|  |      var t = ThemeData(
 |  |      var t = ThemeData(
 | 
											
												
													
														|  | -      textTheme: (isDark ? ThemeData.dark() : ThemeData.light()).textTheme,
 |  | 
 | 
											
												
													
														|  | -      textSelectionTheme: TextSelectionThemeData(cursorColor: main2),
 |  | 
 | 
											
												
													
														|  | 
 |  | +      textTheme: TextTheme(bodyText1: TextStyle(), bodyText2: TextStyle().apply(color: textColor)),
 | 
											
												
													
														|  | 
 |  | +      textSelectionTheme: TextSelectionThemeData(cursorColor: main2, selectionHandleColor: main2),
 | 
											
												
													
														|  |        primaryIconTheme: IconThemeData(color: hover),
 |  |        primaryIconTheme: IconThemeData(color: hover),
 | 
											
												
													
														|  |        iconTheme: IconThemeData(color: shader1),
 |  |        iconTheme: IconThemeData(color: shader1),
 | 
											
												
													
														|  | -      canvasColor: shader6,
 |  | 
 | 
											
												
													
														|  | -      // hoverColor: hover,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      canvasColor: shader7,
 | 
											
												
													
														|  | 
 |  | +      hoverColor: main2,
 | 
											
												
													
														|  |        colorScheme: ColorScheme(
 |  |        colorScheme: ColorScheme(
 | 
											
												
													
														|  |            brightness: isDark ? Brightness.dark : Brightness.light,
 |  |            brightness: isDark ? Brightness.dark : Brightness.light,
 | 
											
												
													
														|  |            primary: main1,
 |  |            primary: main1,
 |