@@ -104,7 +104,7 @@ class AppTheme {
104104 ..tint6 = const Color (0xfff5ffdc )
105105 ..tint7 = const Color (0xffddffd6 )
106106 ..tint8 = const Color (0xffdefff1 )
107- ..tint9 = const Color (0xffdefff1 )
107+ ..tint9 = const Color (0xffe1fbff )
108108 ..main1 = const Color (0xff00bcf0 )
109109 ..main2 = const Color (0xff00b7ea )
110110 ..textColor = _black
@@ -152,7 +152,8 @@ class AppTheme {
152152 ThemeData get themeData {
153153 var t = ThemeData (
154154 textTheme: TextTheme (bodyText2: TextStyle (color: textColor)),
155- textSelectionTheme: TextSelectionThemeData (cursorColor: main2, selectionHandleColor: main2),
155+ textSelectionTheme: TextSelectionThemeData (
156+ cursorColor: main2, selectionHandleColor: main2),
156157 primaryIconTheme: IconThemeData (color: hover),
157158 iconTheme: IconThemeData (color: shader1),
158159 canvasColor: shader6,
@@ -179,7 +180,8 @@ class AppTheme {
179180 toggleableActiveColor: main1);
180181 }
181182
182- Color shift (Color c, double d) => ColorUtils .shiftHsl (c, d * (isDark ? - 1 : 1 ));
183+ Color shift (Color c, double d) =>
184+ ColorUtils .shiftHsl (c, d * (isDark ? - 1 : 1 ));
183185}
184186
185187class ColorUtils {
@@ -188,14 +190,18 @@ class ColorUtils {
188190 return hslc.withLightness ((hslc.lightness + amt).clamp (0.0 , 1.0 )).toColor ();
189191 }
190192
191- static Color parseHex (String value) => Color (int .parse (value.substring (1 , 7 ), radix: 16 ) + 0xFF000000 );
193+ static Color parseHex (String value) =>
194+ Color (int .parse (value.substring (1 , 7 ), radix: 16 ) + 0xFF000000 );
192195
193196 static Color blend (Color dst, Color src, double opacity) {
194197 return Color .fromARGB (
195198 255 ,
196- (dst.red.toDouble () * (1.0 - opacity) + src.red.toDouble () * opacity).toInt (),
197- (dst.green.toDouble () * (1.0 - opacity) + src.green.toDouble () * opacity).toInt (),
198- (dst.blue.toDouble () * (1.0 - opacity) + src.blue.toDouble () * opacity).toInt (),
199+ (dst.red.toDouble () * (1.0 - opacity) + src.red.toDouble () * opacity)
200+ .toInt (),
201+ (dst.green.toDouble () * (1.0 - opacity) + src.green.toDouble () * opacity)
202+ .toInt (),
203+ (dst.blue.toDouble () * (1.0 - opacity) + src.blue.toDouble () * opacity)
204+ .toInt (),
199205 );
200206 }
201207}
0 commit comments