mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
Use darker red in dark mode.
This commit is contained in:
parent
0df2889cbf
commit
4c208cc6d9
@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user