Theme Mode-System Default, Minor Changes & Logout Button #1

This commit is contained in:
2025-09-04 13:43:52 +05:30
parent a1ea60841e
commit 45dbf8464a
12 changed files with 66 additions and 63 deletions

View File

@@ -194,7 +194,7 @@ class LoginScreenState extends State<LoginScreen>
? const CircularProgressIndicator()
: Text(
AppLocalizations.of(context).login,
style: const TextStyle(fontSize: 16),
style: TextStyle(color: Theme.of(context).colorScheme.onPrimaryContainer),
),
),
),
@@ -225,10 +225,11 @@ class LoginScreenState extends State<LoginScreen>
style: OutlinedButton.styleFrom(
shape: const StadiumBorder(),
padding: const EdgeInsets.symmetric(vertical: 16),
backgroundColor: Theme.of(context).primaryColorLight,
foregroundColor: Theme.of(context).colorScheme.onSurface,
backgroundColor: Theme.of(context).colorScheme.primary,
foregroundColor: Theme.of(context).colorScheme.onPrimary,
),
child: Text(AppLocalizations.of(context).register),
child: Text(AppLocalizations.of(context).register,
style: TextStyle(color: Theme.of(context).colorScheme.onPrimary),),
),
),
],