Use darker red in dark mode.

This commit is contained in:
Dain Nilsson 2022-09-07 09:19:30 +02:00
parent 0df2889cbf
commit 4c208cc6d9
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -5,6 +5,7 @@ const primaryGreen = Color(0xffaed581);
const accentGreen = Color(0xff9aca3c); const accentGreen = Color(0xff9aca3c);
const primaryBlue = Color(0xff325f74); const primaryBlue = Color(0xff325f74);
const primaryRed = Color(0xffea4335); const primaryRed = Color(0xffea4335);
const darkRed = Color(0xffda4d41);
class AppTheme { class AppTheme {
static ThemeData get lightTheme => ThemeData( static ThemeData get lightTheme => ThemeData(
@ -105,6 +106,7 @@ class AppTheme {
onPrimary: Colors.black, onPrimary: Colors.black,
secondary: const Color(0xff5d7d90), secondary: const Color(0xff5d7d90),
), ),
errorColor: darkRed,
iconTheme: const IconThemeData( iconTheme: const IconThemeData(
color: Colors.white70, color: Colors.white70,
size: 18.0, size: 18.0,
@ -128,7 +130,7 @@ class AppTheme {
onSecondary: Colors.white, onSecondary: Colors.white,
primary: primaryGreen, primary: primaryGreen,
onPrimary: Colors.grey.shade900, onPrimary: Colors.grey.shade900,
error: primaryRed, error: darkRed,
onError: Colors.grey.shade100, onError: Colors.grey.shade100,
), ),
), ),