Skip to content

Commit

Permalink
feat: Add green color for card valid status #2764
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jul 5, 2024
1 parent b45b2de commit 8a4cac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension CredentialStatusExtension on CredentialStatus {
Color color(BuildContext context) {
switch (this) {
case CredentialStatus.active:
return Theme.of(context).colorScheme.onTertiary;
return Theme.of(context).colorScheme.surfaceTint;
case CredentialStatus.invalidStatus:
case CredentialStatus.expired:
case CredentialStatus.pending:
Expand Down
3 changes: 3 additions & 0 deletions lib/theme/app_theme/app_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class AppTheme {
seedColor: seedColor,
brightness: brightness,
dynamicSchemeVariant: DynamicSchemeVariant.fidelity,
surfaceTint: brightness == Brightness.dark
? const Color(0xFF00FF00)
: const Color(0xFF00CC00),
),
);
}
Expand Down

0 comments on commit 8a4cac8

Please sign in to comment.