Skip to content

Commit

Permalink
color adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Jul 6, 2024
1 parent b6c5da5 commit eaf710d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
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.surfaceTint;
return Colors.green;
case CredentialStatus.invalidStatus:
case CredentialStatus.expired:
case CredentialStatus.pending:
Expand Down
3 changes: 0 additions & 3 deletions lib/theme/app_theme/app_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ class AppTheme {
seedColor: seedColor,
brightness: brightness,
dynamicSchemeVariant: DynamicSchemeVariant.fidelity,
surfaceTint: brightness == Brightness.dark
? const Color(0xFF00FF00)
: const Color(0xFF00CC00),
),
);
}
Expand Down
28 changes: 18 additions & 10 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ packages:
dependency: transitive
description:
name: camera_android
sha256: "4ef97ae90dab306a4ed8d5eee14c85fd8daf403ae22488b5617c848774396d72"
sha256: "981654e0e56a4c735f7ecc7bd3921385eb5f7dd13deaf4a6431255d9731df01a"
url: "https://pub.dev"
source: hosted
version: "0.10.9+6"
version: "0.10.9+7"
camera_avfoundation:
dependency: transitive
description:
Expand Down Expand Up @@ -619,10 +619,10 @@ packages:
dependency: "direct main"
description:
name: dio
sha256: "11e40df547d418cc0c4900a9318b26304e665da6fa4755399a9ff9efd09034b5"
sha256: e17f6b3097b8c51b72c74c9f071a605c47bcc8893839bd66732457a5ebe73714
url: "https://pub.dev"
source: hosted
version: "5.4.3+1"
version: "5.5.0+1"
dio_cache_interceptor:
dependency: transitive
description:
Expand All @@ -639,6 +639,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.2.2"
dio_web_adapter:
dependency: transitive
description:
name: dio_web_adapter
sha256: "36c5b2d79eb17cdae41e974b7a8284fec631651d2a6f39a8a2ff22327e90aeac"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
dotted_border:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1079,10 +1087,10 @@ packages:
dependency: transitive
description:
name: freezed_annotation
sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d
sha256: f54946fdb1fa7b01f780841937b1a80783a20b393485f3f6cdf336fd6f4705f2
url: "https://pub.dev"
source: hosted
version: "2.4.1"
version: "2.4.2"
frontend_server_client:
dependency: transitive
description:
Expand Down Expand Up @@ -1429,10 +1437,10 @@ packages:
dependency: transitive
description:
name: local_auth_android
sha256: b77dc490fef9214e785c326bf11fa733feaa47675d0433f05f48b5caa486c8f7
sha256: "6b60f9f545af5b5a11a90af3c2ab4361c47fff170134fa1c6d4c7d52e6537174"
url: "https://pub.dev"
source: hosted
version: "1.0.40"
version: "1.0.41"
local_auth_darwin:
dependency: transitive
description:
Expand Down Expand Up @@ -2369,10 +2377,10 @@ packages:
dependency: "direct main"
description:
name: timezone
sha256: a6ccda4a69a442098b602c44e61a1e2b4bf6f5516e875bbf0f427d5df14745d5
sha256: "2236ec079a174ce07434e89fcd3fcda430025eb7692244139a9cf54fdcf1fc7d"
url: "https://pub.dev"
source: hosted
version: "0.9.3"
version: "0.9.4"
timing:
dependency: transitive
description:
Expand Down

0 comments on commit eaf710d

Please sign in to comment.