Theme Mode #3

This commit is contained in:
2025-09-03 17:39:57 +05:30
parent 52534f9210
commit 57439f2acb
8 changed files with 132 additions and 114 deletions

View File

@@ -67,13 +67,13 @@ class _TransactionSuccessScreen extends State<TransactionSuccessScreen> {
const SizedBox(height: 6),
Text(
"On $transactionDate",
style: const TextStyle(fontSize: 14, color: Colors.black54),
style: TextStyle(fontSize: 14, color: Theme.of(context).colorScheme.onSurface.withOpacity(0.6)),
textAlign: TextAlign.center,
),
const SizedBox(height: 16),
Text(
"${AppLocalizations.of(context).toAccountNumber}: $creditAccount",
style: const TextStyle(fontSize: 12, color: Colors.black87),
style: TextStyle(fontSize: 12, color: Theme.of(context).colorScheme.onSurface.withOpacity(0.8)),
textAlign: TextAlign.center,
),
],
@@ -98,7 +98,7 @@ class _TransactionSuccessScreen extends State<TransactionSuccessScreen> {
backgroundColor:
Theme.of(context).scaffoldBackgroundColor,
foregroundColor: Theme.of(context).primaryColorLight,
side: const BorderSide(color: Colors.black, width: 1),
side: BorderSide(color: Theme.of(context).colorScheme.outline, width: 1),
elevation: 0,
),
),