Updated the error color in the Gallery themes (#17200)

This commit is contained in:
Hans Muller 2018-05-02 11:09:28 -07:00 committed by GitHub
parent 5d8bdd35cb
commit 8d0ec25eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ ThemeData _buildDarkTheme() {
canvasColor: const Color(0xFF202124), canvasColor: const Color(0xFF202124),
scaffoldBackgroundColor: const Color(0xFF202124), scaffoldBackgroundColor: const Color(0xFF202124),
backgroundColor: const Color(0xFF202124), backgroundColor: const Color(0xFF202124),
errorColor: const Color(0xFFB00020),
buttonTheme: const ButtonThemeData( buttonTheme: const ButtonThemeData(
textTheme: ButtonTextTheme.primary, textTheme: ButtonTextTheme.primary,
), ),
@ -55,6 +56,7 @@ ThemeData _buildLightTheme() {
canvasColor: Colors.white, canvasColor: Colors.white,
scaffoldBackgroundColor: Colors.white, scaffoldBackgroundColor: Colors.white,
backgroundColor: Colors.white, backgroundColor: Colors.white,
errorColor: const Color(0xFFB00020),
buttonTheme: const ButtonThemeData( buttonTheme: const ButtonThemeData(
textTheme: ButtonTextTheme.primary, textTheme: ButtonTextTheme.primary,
), ),