@bifold/core 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/App.js +1 -1
- package/lib/commonjs/App.js.map +1 -1
- package/lib/commonjs/components/animated/ButtonLoading.js +2 -2
- package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -1
- package/lib/commonjs/components/animated/ConnectionLoading.js +3 -3
- package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -1
- package/lib/commonjs/components/animated/LoadingIndicator.js +2 -2
- package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/animated/PresentationLoading.js +3 -3
- package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -1
- package/lib/commonjs/components/animated/RecordLoading.js +5 -5
- package/lib/commonjs/components/animated/RecordLoading.js.map +1 -1
- package/lib/commonjs/components/animated/SendingProof.js +3 -3
- package/lib/commonjs/components/animated/SendingProof.js.map +1 -1
- package/lib/commonjs/components/animated/SentProof.js +3 -3
- package/lib/commonjs/components/animated/SentProof.js.map +1 -1
- package/lib/commonjs/components/buttons/Button.js +1 -1
- package/lib/commonjs/components/buttons/Button.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +3 -3
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/ToggleButton.js +3 -3
- package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -1
- package/lib/commonjs/components/chat/ActionSlider.js +3 -3
- package/lib/commonjs/components/chat/ActionSlider.js.map +1 -1
- package/lib/commonjs/components/forms/WalletNameForm.js +2 -2
- package/lib/commonjs/components/forms/WalletNameForm.js.map +1 -1
- package/lib/commonjs/components/inputs/BiometryControl.js +2 -2
- package/lib/commonjs/components/inputs/BiometryControl.js.map +1 -1
- package/lib/commonjs/components/inputs/BulletPoint.js +2 -2
- package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -1
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js +3 -3
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -1
- package/lib/commonjs/components/listItems/ContactListItem.js +2 -2
- package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -1
- package/lib/commonjs/components/listItems/NotificationListItem.js +22 -22
- package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -1
- package/lib/commonjs/components/misc/ConnectionAlert.js +5 -5
- package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -1
- package/lib/commonjs/components/misc/ConnectionImage.js +3 -3
- package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard.js +2 -2
- package/lib/commonjs/components/misc/CredentialCard.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard10.js +6 -6
- package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard11.js +12 -12
- package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +3 -3
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -1
- package/lib/commonjs/components/misc/EmptyList.js +2 -2
- package/lib/commonjs/components/misc/EmptyList.js.map +1 -1
- package/lib/commonjs/components/misc/EmptyListContacts.js +2 -2
- package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -1
- package/lib/commonjs/components/misc/FauxHeader.js +2 -2
- package/lib/commonjs/components/misc/FauxHeader.js.map +1 -1
- package/lib/commonjs/components/misc/InfoBox.js +29 -29
- package/lib/commonjs/components/misc/InfoBox.js.map +1 -1
- package/lib/commonjs/components/misc/NoNewUpdates.js +2 -2
- package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -1
- package/lib/commonjs/components/misc/PINValidationHelper.js +3 -3
- package/lib/commonjs/components/misc/PINValidationHelper.js.map +1 -1
- package/lib/commonjs/components/misc/QRRenderer.js +2 -2
- package/lib/commonjs/components/misc/QRRenderer.js.map +1 -1
- package/lib/commonjs/components/misc/QRScanner.js +3 -3
- package/lib/commonjs/components/misc/QRScanner.js.map +1 -1
- package/lib/commonjs/components/misc/QRScannerTorch.js +4 -4
- package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -1
- package/lib/commonjs/components/misc/SharedProofData.js +2 -2
- package/lib/commonjs/components/misc/SharedProofData.js.map +1 -1
- package/lib/commonjs/components/misc/UnorderedList.js +3 -3
- package/lib/commonjs/components/misc/UnorderedList.js.map +1 -1
- package/lib/commonjs/components/misc/VerifierCredentialCard.js +7 -7
- package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -1
- package/lib/commonjs/components/modals/AppGuideModal.js +7 -7
- package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -1
- package/lib/commonjs/components/modals/CameraDisclosureModal.js +4 -4
- package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -1
- package/lib/commonjs/components/modals/CommonRemoveModal.js +7 -7
- package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -1
- package/lib/commonjs/components/modals/DismissiblePopupModal.js +7 -7
- package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -1
- package/lib/commonjs/components/modals/ErrorModal.js +4 -4
- package/lib/commonjs/components/modals/ErrorModal.js.map +1 -1
- package/lib/commonjs/components/modals/ImageModal.js +4 -4
- package/lib/commonjs/components/modals/ImageModal.js.map +1 -1
- package/lib/commonjs/components/modals/PopupModal.js +2 -2
- package/lib/commonjs/components/modals/PopupModal.js.map +1 -1
- package/lib/commonjs/components/modals/ProofCancelModal.js +2 -2
- package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -1
- package/lib/commonjs/components/record/RecordFooter.js +2 -2
- package/lib/commonjs/components/record/RecordFooter.js.map +1 -1
- package/lib/commonjs/components/record/RecordHeader.js +2 -2
- package/lib/commonjs/components/record/RecordHeader.js.map +1 -1
- package/lib/commonjs/components/record/RecordRemove.js +5 -5
- package/lib/commonjs/components/record/RecordRemove.js.map +1 -1
- package/lib/commonjs/components/texts/HighlightTextBox.js +3 -3
- package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -1
- package/lib/commonjs/components/texts/InfoTextBox.js +17 -17
- package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -1
- package/lib/commonjs/components/texts/Link.js +2 -2
- package/lib/commonjs/components/texts/Link.js.map +1 -1
- package/lib/commonjs/components/toast/BaseToast.js +17 -17
- package/lib/commonjs/components/toast/BaseToast.js.map +1 -1
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +2 -2
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/CredentialsTourSteps.js +2 -2
- package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/HomeTourSteps.js +6 -6
- package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js +2 -2
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -1
- package/lib/commonjs/components/tour/TourBox.js +6 -6
- package/lib/commonjs/components/tour/TourBox.js.map +1 -1
- package/lib/commonjs/components/views/Banner.js +19 -9
- package/lib/commonjs/components/views/Banner.js.map +1 -1
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +3 -3
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
- package/lib/commonjs/components/views/KeyboardView.js +2 -2
- package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
- package/lib/commonjs/components/views/ProgressBar.js +3 -3
- package/lib/commonjs/components/views/ProgressBar.js.map +1 -1
- package/lib/commonjs/contexts/reducers/store.js +2 -1
- package/lib/commonjs/contexts/reducers/store.js.map +1 -1
- package/lib/commonjs/hooks/chat-messages.js +3 -3
- package/lib/commonjs/hooks/chat-messages.js.map +1 -1
- package/lib/commonjs/hooks/credential-card-styles.js +4 -4
- package/lib/commonjs/hooks/credential-card-styles.js.map +1 -1
- package/lib/commonjs/index.js +11 -3
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/modules/history/ui/HistoryPage.js +2 -2
- package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -1
- package/lib/commonjs/modules/history/ui/HistorySettings.js +2 -2
- package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +2 -2
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -1
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +5 -5
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
- package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +4 -4
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
- package/lib/commonjs/navigators/TabStack.js +2 -2
- package/lib/commonjs/navigators/TabStack.js.map +1 -1
- package/lib/commonjs/navigators/defaultStackOptions.js +3 -3
- package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
- package/lib/commonjs/screens/AttemptLockout.js +2 -2
- package/lib/commonjs/screens/AttemptLockout.js.map +1 -1
- package/lib/commonjs/screens/AutoLock.js +7 -7
- package/lib/commonjs/screens/AutoLock.js.map +1 -1
- package/lib/commonjs/screens/ConfigureMediator.js +7 -7
- package/lib/commonjs/screens/ConfigureMediator.js.map +1 -1
- package/lib/commonjs/screens/ContactDetails.js +9 -9
- package/lib/commonjs/screens/ContactDetails.js.map +1 -1
- package/lib/commonjs/screens/CredentialDetails.js +16 -16
- package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
- package/lib/commonjs/screens/CredentialOffer.js +2 -2
- package/lib/commonjs/screens/CredentialOffer.js.map +1 -1
- package/lib/commonjs/screens/DataRetention.js +11 -11
- package/lib/commonjs/screens/DataRetention.js.map +1 -1
- package/lib/commonjs/screens/Developer.js +29 -29
- package/lib/commonjs/screens/Developer.js.map +1 -1
- package/lib/commonjs/screens/Home.js +2 -2
- package/lib/commonjs/screens/Home.js.map +1 -1
- package/lib/commonjs/screens/JSONDetails.js +3 -3
- package/lib/commonjs/screens/JSONDetails.js.map +1 -1
- package/lib/commonjs/screens/Language.js +7 -7
- package/lib/commonjs/screens/Language.js.map +1 -1
- package/lib/commonjs/screens/ListContacts.js +3 -3
- package/lib/commonjs/screens/ListContacts.js.map +1 -1
- package/lib/commonjs/screens/ListCredentials.js +2 -2
- package/lib/commonjs/screens/ListCredentials.js.map +1 -1
- package/lib/commonjs/screens/ListProofRequests.js +2 -2
- package/lib/commonjs/screens/ListProofRequests.js.map +1 -1
- package/lib/commonjs/screens/MobileVerifierLoading.js +3 -3
- package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -1
- package/lib/commonjs/screens/PINChange.js +2 -2
- package/lib/commonjs/screens/PINChange.js.map +1 -1
- package/lib/commonjs/screens/PINCreate.js +2 -2
- package/lib/commonjs/screens/PINCreate.js.map +1 -1
- package/lib/commonjs/screens/PINEnter.js +3 -3
- package/lib/commonjs/screens/PINEnter.js.map +1 -1
- package/lib/commonjs/screens/PINExplainer.js +3 -3
- package/lib/commonjs/screens/PINExplainer.js.map +1 -1
- package/lib/commonjs/screens/PINVerify.js +2 -2
- package/lib/commonjs/screens/PINVerify.js.map +1 -1
- package/lib/commonjs/screens/PasteUrl.js +4 -4
- package/lib/commonjs/screens/PasteUrl.js.map +1 -1
- package/lib/commonjs/screens/ProofChangeCredential.js +2 -2
- package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -1
- package/lib/commonjs/screens/ProofDetails.js +3 -3
- package/lib/commonjs/screens/ProofDetails.js.map +1 -1
- package/lib/commonjs/screens/ProofRequest.js +7 -7
- package/lib/commonjs/screens/ProofRequest.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestAccept.js +3 -3
- package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestDetails.js +4 -4
- package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -1
- package/lib/commonjs/screens/ProofRequestUsageHistory.js +2 -2
- package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -1
- package/lib/commonjs/screens/ProofRequesting.js +5 -5
- package/lib/commonjs/screens/ProofRequesting.js.map +1 -1
- package/lib/commonjs/screens/RenameContact.js +2 -2
- package/lib/commonjs/screens/RenameContact.js.map +1 -1
- package/lib/commonjs/screens/Settings.js +5 -5
- package/lib/commonjs/screens/Settings.js.map +1 -1
- package/lib/commonjs/screens/Splash.js +2 -2
- package/lib/commonjs/screens/Splash.js.map +1 -1
- package/lib/commonjs/screens/ToggleBiometry.js +2 -2
- package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
- package/lib/commonjs/screens/TogglePushNotifications.js +5 -5
- package/lib/commonjs/screens/TogglePushNotifications.js.map +1 -1
- package/lib/commonjs/screens/Tours.js +5 -5
- package/lib/commonjs/screens/Tours.js.map +1 -1
- package/lib/commonjs/screens/UpdateAvailable.js +2 -2
- package/lib/commonjs/screens/UpdateAvailable.js.map +1 -1
- package/lib/commonjs/screens/WhatAreContacts.js +2 -2
- package/lib/commonjs/screens/WhatAreContacts.js.map +1 -1
- package/lib/commonjs/theme-builder.js +116 -0
- package/lib/commonjs/theme-builder.js.map +1 -0
- package/lib/commonjs/theme.interface.js +6 -0
- package/lib/commonjs/theme.interface.js.map +1 -0
- package/lib/commonjs/theme.js +904 -670
- package/lib/commonjs/theme.js.map +1 -1
- package/lib/commonjs/utils/credential.js +3 -3
- package/lib/commonjs/utils/credential.js.map +1 -1
- package/lib/commonjs/utils/mediatorhelpers.js +16 -12
- package/lib/commonjs/utils/mediatorhelpers.js.map +1 -1
- package/lib/module/App.js +1 -1
- package/lib/module/App.js.map +1 -1
- package/lib/module/components/animated/ButtonLoading.js +2 -2
- package/lib/module/components/animated/ButtonLoading.js.map +1 -1
- package/lib/module/components/animated/ConnectionLoading.js +3 -3
- package/lib/module/components/animated/ConnectionLoading.js.map +1 -1
- package/lib/module/components/animated/LoadingIndicator.js +2 -2
- package/lib/module/components/animated/LoadingIndicator.js.map +1 -1
- package/lib/module/components/animated/PresentationLoading.js +3 -3
- package/lib/module/components/animated/PresentationLoading.js.map +1 -1
- package/lib/module/components/animated/RecordLoading.js +5 -5
- package/lib/module/components/animated/RecordLoading.js.map +1 -1
- package/lib/module/components/animated/SendingProof.js +3 -3
- package/lib/module/components/animated/SendingProof.js.map +1 -1
- package/lib/module/components/animated/SentProof.js +3 -3
- package/lib/module/components/animated/SentProof.js.map +1 -1
- package/lib/module/components/buttons/Button.js +1 -1
- package/lib/module/components/buttons/Button.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +3 -3
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/ToggleButton.js +3 -3
- package/lib/module/components/buttons/ToggleButton.js.map +1 -1
- package/lib/module/components/chat/ActionSlider.js +3 -3
- package/lib/module/components/chat/ActionSlider.js.map +1 -1
- package/lib/module/components/forms/WalletNameForm.js +2 -2
- package/lib/module/components/forms/WalletNameForm.js.map +1 -1
- package/lib/module/components/inputs/BiometryControl.js +2 -2
- package/lib/module/components/inputs/BiometryControl.js.map +1 -1
- package/lib/module/components/inputs/BulletPoint.js +2 -2
- package/lib/module/components/inputs/BulletPoint.js.map +1 -1
- package/lib/module/components/listItems/ContactCredentialListItem.js +3 -3
- package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -1
- package/lib/module/components/listItems/ContactListItem.js +2 -2
- package/lib/module/components/listItems/ContactListItem.js.map +1 -1
- package/lib/module/components/listItems/NotificationListItem.js +22 -22
- package/lib/module/components/listItems/NotificationListItem.js.map +1 -1
- package/lib/module/components/misc/ConnectionAlert.js +5 -5
- package/lib/module/components/misc/ConnectionAlert.js.map +1 -1
- package/lib/module/components/misc/ConnectionImage.js +3 -3
- package/lib/module/components/misc/ConnectionImage.js.map +1 -1
- package/lib/module/components/misc/CredentialCard.js +2 -2
- package/lib/module/components/misc/CredentialCard.js.map +1 -1
- package/lib/module/components/misc/CredentialCard10.js +6 -6
- package/lib/module/components/misc/CredentialCard10.js.map +1 -1
- package/lib/module/components/misc/CredentialCard11.js +12 -12
- package/lib/module/components/misc/CredentialCard11.js.map +1 -1
- package/lib/module/components/misc/CredentialCard11ActionFooter.js +3 -3
- package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -1
- package/lib/module/components/misc/EmptyList.js +2 -2
- package/lib/module/components/misc/EmptyList.js.map +1 -1
- package/lib/module/components/misc/EmptyListContacts.js +2 -2
- package/lib/module/components/misc/EmptyListContacts.js.map +1 -1
- package/lib/module/components/misc/FauxHeader.js +2 -2
- package/lib/module/components/misc/FauxHeader.js.map +1 -1
- package/lib/module/components/misc/InfoBox.js +29 -29
- package/lib/module/components/misc/InfoBox.js.map +1 -1
- package/lib/module/components/misc/NoNewUpdates.js +2 -2
- package/lib/module/components/misc/NoNewUpdates.js.map +1 -1
- package/lib/module/components/misc/PINValidationHelper.js +3 -3
- package/lib/module/components/misc/PINValidationHelper.js.map +1 -1
- package/lib/module/components/misc/QRRenderer.js +2 -2
- package/lib/module/components/misc/QRRenderer.js.map +1 -1
- package/lib/module/components/misc/QRScanner.js +3 -3
- package/lib/module/components/misc/QRScanner.js.map +1 -1
- package/lib/module/components/misc/QRScannerTorch.js +4 -4
- package/lib/module/components/misc/QRScannerTorch.js.map +1 -1
- package/lib/module/components/misc/SharedProofData.js +2 -2
- package/lib/module/components/misc/SharedProofData.js.map +1 -1
- package/lib/module/components/misc/UnorderedList.js +3 -3
- package/lib/module/components/misc/UnorderedList.js.map +1 -1
- package/lib/module/components/misc/VerifierCredentialCard.js +7 -7
- package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -1
- package/lib/module/components/modals/AppGuideModal.js +7 -7
- package/lib/module/components/modals/AppGuideModal.js.map +1 -1
- package/lib/module/components/modals/CameraDisclosureModal.js +4 -4
- package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -1
- package/lib/module/components/modals/CommonRemoveModal.js +7 -7
- package/lib/module/components/modals/CommonRemoveModal.js.map +1 -1
- package/lib/module/components/modals/DismissiblePopupModal.js +7 -7
- package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -1
- package/lib/module/components/modals/ErrorModal.js +4 -4
- package/lib/module/components/modals/ErrorModal.js.map +1 -1
- package/lib/module/components/modals/ImageModal.js +4 -4
- package/lib/module/components/modals/ImageModal.js.map +1 -1
- package/lib/module/components/modals/PopupModal.js +2 -2
- package/lib/module/components/modals/PopupModal.js.map +1 -1
- package/lib/module/components/modals/ProofCancelModal.js +2 -2
- package/lib/module/components/modals/ProofCancelModal.js.map +1 -1
- package/lib/module/components/record/RecordFooter.js +2 -2
- package/lib/module/components/record/RecordFooter.js.map +1 -1
- package/lib/module/components/record/RecordHeader.js +2 -2
- package/lib/module/components/record/RecordHeader.js.map +1 -1
- package/lib/module/components/record/RecordRemove.js +5 -5
- package/lib/module/components/record/RecordRemove.js.map +1 -1
- package/lib/module/components/texts/HighlightTextBox.js +3 -3
- package/lib/module/components/texts/HighlightTextBox.js.map +1 -1
- package/lib/module/components/texts/InfoTextBox.js +17 -17
- package/lib/module/components/texts/InfoTextBox.js.map +1 -1
- package/lib/module/components/texts/Link.js +2 -2
- package/lib/module/components/texts/Link.js.map +1 -1
- package/lib/module/components/toast/BaseToast.js +17 -17
- package/lib/module/components/toast/BaseToast.js.map +1 -1
- package/lib/module/components/tour/CredentialOfferTourSteps.js +2 -2
- package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -1
- package/lib/module/components/tour/CredentialsTourSteps.js +2 -2
- package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -1
- package/lib/module/components/tour/HomeTourSteps.js +6 -6
- package/lib/module/components/tour/HomeTourSteps.js.map +1 -1
- package/lib/module/components/tour/ProofRequestTourSteps.js +2 -2
- package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -1
- package/lib/module/components/tour/TourBox.js +6 -6
- package/lib/module/components/tour/TourBox.js.map +1 -1
- package/lib/module/components/views/Banner.js +19 -9
- package/lib/module/components/views/Banner.js.map +1 -1
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js +3 -3
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
- package/lib/module/components/views/KeyboardView.js +2 -2
- package/lib/module/components/views/KeyboardView.js.map +1 -1
- package/lib/module/components/views/ProgressBar.js +3 -3
- package/lib/module/components/views/ProgressBar.js.map +1 -1
- package/lib/module/contexts/reducers/store.js +2 -1
- package/lib/module/contexts/reducers/store.js.map +1 -1
- package/lib/module/hooks/chat-messages.js +3 -3
- package/lib/module/hooks/chat-messages.js.map +1 -1
- package/lib/module/hooks/credential-card-styles.js +4 -4
- package/lib/module/hooks/credential-card-styles.js.map +1 -1
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/modules/history/ui/HistoryPage.js +2 -2
- package/lib/module/modules/history/ui/HistoryPage.js.map +1 -1
- package/lib/module/modules/history/ui/HistorySettings.js +2 -2
- package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
- package/lib/module/modules/history/ui/components/HistoryListItem.js +2 -2
- package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -1
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js +5 -5
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
- package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +4 -4
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
- package/lib/module/navigators/TabStack.js +2 -2
- package/lib/module/navigators/TabStack.js.map +1 -1
- package/lib/module/navigators/defaultStackOptions.js +3 -3
- package/lib/module/navigators/defaultStackOptions.js.map +1 -1
- package/lib/module/screens/AttemptLockout.js +2 -2
- package/lib/module/screens/AttemptLockout.js.map +1 -1
- package/lib/module/screens/AutoLock.js +7 -7
- package/lib/module/screens/AutoLock.js.map +1 -1
- package/lib/module/screens/ConfigureMediator.js +7 -7
- package/lib/module/screens/ConfigureMediator.js.map +1 -1
- package/lib/module/screens/ContactDetails.js +9 -9
- package/lib/module/screens/ContactDetails.js.map +1 -1
- package/lib/module/screens/CredentialDetails.js +16 -16
- package/lib/module/screens/CredentialDetails.js.map +1 -1
- package/lib/module/screens/CredentialOffer.js +2 -2
- package/lib/module/screens/CredentialOffer.js.map +1 -1
- package/lib/module/screens/DataRetention.js +11 -11
- package/lib/module/screens/DataRetention.js.map +1 -1
- package/lib/module/screens/Developer.js +29 -29
- package/lib/module/screens/Developer.js.map +1 -1
- package/lib/module/screens/Home.js +2 -2
- package/lib/module/screens/Home.js.map +1 -1
- package/lib/module/screens/JSONDetails.js +3 -3
- package/lib/module/screens/JSONDetails.js.map +1 -1
- package/lib/module/screens/Language.js +7 -7
- package/lib/module/screens/Language.js.map +1 -1
- package/lib/module/screens/ListContacts.js +3 -3
- package/lib/module/screens/ListContacts.js.map +1 -1
- package/lib/module/screens/ListCredentials.js +2 -2
- package/lib/module/screens/ListCredentials.js.map +1 -1
- package/lib/module/screens/ListProofRequests.js +2 -2
- package/lib/module/screens/ListProofRequests.js.map +1 -1
- package/lib/module/screens/MobileVerifierLoading.js +3 -3
- package/lib/module/screens/MobileVerifierLoading.js.map +1 -1
- package/lib/module/screens/PINChange.js +2 -2
- package/lib/module/screens/PINChange.js.map +1 -1
- package/lib/module/screens/PINCreate.js +2 -2
- package/lib/module/screens/PINCreate.js.map +1 -1
- package/lib/module/screens/PINEnter.js +3 -3
- package/lib/module/screens/PINEnter.js.map +1 -1
- package/lib/module/screens/PINExplainer.js +3 -3
- package/lib/module/screens/PINExplainer.js.map +1 -1
- package/lib/module/screens/PINVerify.js +2 -2
- package/lib/module/screens/PINVerify.js.map +1 -1
- package/lib/module/screens/PasteUrl.js +4 -4
- package/lib/module/screens/PasteUrl.js.map +1 -1
- package/lib/module/screens/ProofChangeCredential.js +2 -2
- package/lib/module/screens/ProofChangeCredential.js.map +1 -1
- package/lib/module/screens/ProofDetails.js +3 -3
- package/lib/module/screens/ProofDetails.js.map +1 -1
- package/lib/module/screens/ProofRequest.js +7 -7
- package/lib/module/screens/ProofRequest.js.map +1 -1
- package/lib/module/screens/ProofRequestAccept.js +3 -3
- package/lib/module/screens/ProofRequestAccept.js.map +1 -1
- package/lib/module/screens/ProofRequestDetails.js +4 -4
- package/lib/module/screens/ProofRequestDetails.js.map +1 -1
- package/lib/module/screens/ProofRequestUsageHistory.js +2 -2
- package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -1
- package/lib/module/screens/ProofRequesting.js +5 -5
- package/lib/module/screens/ProofRequesting.js.map +1 -1
- package/lib/module/screens/RenameContact.js +2 -2
- package/lib/module/screens/RenameContact.js.map +1 -1
- package/lib/module/screens/Settings.js +5 -5
- package/lib/module/screens/Settings.js.map +1 -1
- package/lib/module/screens/Splash.js +2 -2
- package/lib/module/screens/Splash.js.map +1 -1
- package/lib/module/screens/ToggleBiometry.js +2 -2
- package/lib/module/screens/ToggleBiometry.js.map +1 -1
- package/lib/module/screens/TogglePushNotifications.js +5 -5
- package/lib/module/screens/TogglePushNotifications.js.map +1 -1
- package/lib/module/screens/Tours.js +5 -5
- package/lib/module/screens/Tours.js.map +1 -1
- package/lib/module/screens/UpdateAvailable.js +2 -2
- package/lib/module/screens/UpdateAvailable.js.map +1 -1
- package/lib/module/screens/WhatAreContacts.js +2 -2
- package/lib/module/screens/WhatAreContacts.js.map +1 -1
- package/lib/module/theme-builder.js +109 -0
- package/lib/module/theme-builder.js.map +1 -0
- package/lib/module/theme.interface.js +2 -0
- package/lib/module/theme.interface.js.map +1 -0
- package/lib/module/theme.js +888 -669
- package/lib/module/theme.js.map +1 -1
- package/lib/module/utils/credential.js +3 -3
- package/lib/module/utils/credential.js.map +1 -1
- package/lib/module/utils/mediatorhelpers.js +16 -12
- package/lib/module/utils/mediatorhelpers.js.map +1 -1
- package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
- package/lib/typescript/src/components/views/Banner.d.ts.map +1 -1
- package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
- package/lib/typescript/src/hooks/credential-card-styles.d.ts +375 -13
- package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts +1 -1
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
- package/lib/typescript/src/screens/Developer.d.ts.map +1 -1
- package/lib/typescript/src/theme-builder.d.ts +62 -0
- package/lib/typescript/src/theme-builder.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +204 -702
- package/lib/typescript/src/theme.d.ts.map +1 -1
- package/lib/typescript/src/theme.interface.d.ts +557 -0
- package/lib/typescript/src/theme.interface.d.ts.map +1 -0
- package/lib/typescript/src/utils/credential.d.ts +1 -1
- package/lib/typescript/src/utils/credential.d.ts.map +1 -1
- package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/App.tsx +1 -1
- package/src/components/animated/ButtonLoading.tsx +2 -2
- package/src/components/animated/ConnectionLoading.tsx +3 -3
- package/src/components/animated/LoadingIndicator.tsx +2 -2
- package/src/components/animated/PresentationLoading.tsx +3 -3
- package/src/components/animated/RecordLoading.tsx +5 -5
- package/src/components/animated/SendingProof.tsx +3 -3
- package/src/components/animated/SentProof.tsx +3 -3
- package/src/components/buttons/Button.tsx +1 -1
- package/src/components/buttons/IconButton.tsx +5 -3
- package/src/components/buttons/ToggleButton.tsx +3 -3
- package/src/components/chat/ActionSlider.tsx +3 -3
- package/src/components/forms/WalletNameForm.tsx +2 -2
- package/src/components/inputs/BiometryControl.tsx +2 -2
- package/src/components/inputs/BulletPoint.tsx +2 -2
- package/src/components/listItems/ContactCredentialListItem.tsx +3 -3
- package/src/components/listItems/ContactListItem.tsx +2 -2
- package/src/components/listItems/NotificationListItem.tsx +22 -22
- package/src/components/misc/ConnectionAlert.tsx +5 -5
- package/src/components/misc/ConnectionImage.tsx +3 -3
- package/src/components/misc/CredentialCard.tsx +2 -2
- package/src/components/misc/CredentialCard10.tsx +6 -6
- package/src/components/misc/CredentialCard11.tsx +16 -12
- package/src/components/misc/CredentialCard11ActionFooter.tsx +3 -3
- package/src/components/misc/EmptyList.tsx +2 -2
- package/src/components/misc/EmptyListContacts.tsx +2 -2
- package/src/components/misc/FauxHeader.tsx +2 -2
- package/src/components/misc/InfoBox.tsx +29 -29
- package/src/components/misc/NoNewUpdates.tsx +2 -2
- package/src/components/misc/PINValidationHelper.tsx +3 -3
- package/src/components/misc/QRRenderer.tsx +2 -2
- package/src/components/misc/QRScanner.tsx +3 -3
- package/src/components/misc/QRScannerTorch.tsx +4 -4
- package/src/components/misc/SharedProofData.tsx +2 -2
- package/src/components/misc/UnorderedList.tsx +3 -3
- package/src/components/misc/VerifierCredentialCard.tsx +7 -7
- package/src/components/modals/AppGuideModal.tsx +7 -7
- package/src/components/modals/CameraDisclosureModal.tsx +4 -4
- package/src/components/modals/CommonRemoveModal.tsx +7 -7
- package/src/components/modals/DismissiblePopupModal.tsx +7 -7
- package/src/components/modals/ErrorModal.tsx +4 -4
- package/src/components/modals/ImageModal.tsx +4 -4
- package/src/components/modals/PopupModal.tsx +2 -2
- package/src/components/modals/ProofCancelModal.tsx +2 -2
- package/src/components/record/RecordFooter.tsx +2 -2
- package/src/components/record/RecordHeader.tsx +2 -2
- package/src/components/record/RecordRemove.tsx +5 -5
- package/src/components/texts/HighlightTextBox.tsx +3 -3
- package/src/components/texts/InfoTextBox.tsx +17 -17
- package/src/components/texts/Link.tsx +2 -2
- package/src/components/toast/BaseToast.tsx +17 -17
- package/src/components/tour/CredentialOfferTourSteps.tsx +2 -2
- package/src/components/tour/CredentialsTourSteps.tsx +2 -2
- package/src/components/tour/HomeTourSteps.tsx +6 -6
- package/src/components/tour/ProofRequestTourSteps.tsx +2 -2
- package/src/components/tour/TourBox.tsx +6 -6
- package/src/components/views/Banner.tsx +21 -14
- package/src/components/views/CredentialDetailPrimaryHeader.tsx +4 -4
- package/src/components/views/KeyboardView.tsx +2 -2
- package/src/components/views/ProgressBar.tsx +3 -3
- package/src/contexts/reducers/store.ts +4 -1
- package/src/hooks/chat-messages.tsx +3 -3
- package/src/hooks/credential-card-styles.ts +4 -4
- package/src/index.ts +4 -2
- package/src/modules/history/ui/HistoryPage.tsx +2 -2
- package/src/modules/history/ui/HistorySettings.tsx +2 -2
- package/src/modules/history/ui/components/HistoryListItem.tsx +2 -2
- package/src/modules/openid/components/OpenIDCredentialCard.tsx +5 -5
- package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +2 -2
- package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +2 -2
- package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +2 -2
- package/src/modules/openid/screens/OpenIDProofPresentation.tsx +4 -4
- package/src/navigators/TabStack.tsx +2 -2
- package/src/navigators/defaultStackOptions.tsx +3 -3
- package/src/screens/AttemptLockout.tsx +2 -2
- package/src/screens/AutoLock.tsx +7 -7
- package/src/screens/ConfigureMediator.tsx +7 -7
- package/src/screens/ContactDetails.tsx +9 -9
- package/src/screens/CredentialDetails.tsx +16 -16
- package/src/screens/CredentialOffer.tsx +2 -2
- package/src/screens/DataRetention.tsx +11 -11
- package/src/screens/Developer.tsx +24 -22
- package/src/screens/Home.tsx +2 -2
- package/src/screens/JSONDetails.tsx +3 -3
- package/src/screens/Language.tsx +7 -7
- package/src/screens/ListContacts.tsx +3 -3
- package/src/screens/ListCredentials.tsx +2 -2
- package/src/screens/ListProofRequests.tsx +2 -2
- package/src/screens/MobileVerifierLoading.tsx +3 -3
- package/src/screens/PINChange.tsx +2 -2
- package/src/screens/PINCreate.tsx +2 -2
- package/src/screens/PINEnter.tsx +3 -3
- package/src/screens/PINExplainer.tsx +3 -3
- package/src/screens/PINVerify.tsx +2 -2
- package/src/screens/PasteUrl.tsx +4 -4
- package/src/screens/ProofChangeCredential.tsx +2 -2
- package/src/screens/ProofDetails.tsx +3 -3
- package/src/screens/ProofRequest.tsx +7 -7
- package/src/screens/ProofRequestAccept.tsx +3 -3
- package/src/screens/ProofRequestDetails.tsx +4 -4
- package/src/screens/ProofRequestUsageHistory.tsx +2 -2
- package/src/screens/ProofRequesting.tsx +5 -5
- package/src/screens/RenameContact.tsx +2 -2
- package/src/screens/Settings.tsx +5 -5
- package/src/screens/Splash.tsx +2 -2
- package/src/screens/ToggleBiometry.tsx +2 -2
- package/src/screens/TogglePushNotifications.tsx +4 -4
- package/src/screens/Tours.tsx +5 -5
- package/src/screens/UpdateAvailable.tsx +2 -2
- package/src/screens/WhatAreContacts.tsx +2 -2
- package/src/theme-builder.ts +140 -0
- package/src/theme.interface.ts +580 -0
- package/src/theme.ts +881 -774
- package/src/utils/credential.ts +3 -3
- package/src/utils/mediatorhelpers.ts +23 -12
package/src/App.tsx
CHANGED
|
@@ -51,7 +51,7 @@ const createApp = (container: Container): React.FC => {
|
|
|
51
51
|
<StatusBar
|
|
52
52
|
hidden={false}
|
|
53
53
|
barStyle="light-content"
|
|
54
|
-
backgroundColor={bifoldTheme.
|
|
54
|
+
backgroundColor={bifoldTheme.ColorPalette.brand.primary}
|
|
55
55
|
translucent={false}
|
|
56
56
|
/>
|
|
57
57
|
<ErrorModal />
|
|
@@ -11,7 +11,7 @@ const timing: Animated.TimingAnimationConfig = {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const ButtonLoading: React.FC = () => {
|
|
14
|
-
const {
|
|
14
|
+
const { ColorPalette } = useTheme()
|
|
15
15
|
const rotationAnim = useRef(new Animated.Value(0))
|
|
16
16
|
const rotation = rotationAnim.current.interpolate({
|
|
17
17
|
inputRange: [0, 1],
|
|
@@ -24,7 +24,7 @@ const ButtonLoading: React.FC = () => {
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<Animated.View style={{ transform: [{ rotate: rotation }] }}>
|
|
27
|
-
<Icon style={{ color:
|
|
27
|
+
<Icon style={{ color: ColorPalette.brand.icon }} size={25} name="refresh" />
|
|
28
28
|
</Animated.View>
|
|
29
29
|
)
|
|
30
30
|
}
|
|
@@ -10,7 +10,7 @@ const timing: Animated.TimingAnimationConfig = {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const ConnectionLoading: React.FC = () => {
|
|
13
|
-
const {
|
|
13
|
+
const { ColorPalette, Assets } = useTheme()
|
|
14
14
|
const rotationAnim = useRef(new Animated.Value(0))
|
|
15
15
|
const rotation = rotationAnim.current.interpolate({
|
|
16
16
|
inputRange: [0, 1],
|
|
@@ -26,12 +26,12 @@ const ConnectionLoading: React.FC = () => {
|
|
|
26
26
|
},
|
|
27
27
|
})
|
|
28
28
|
const credentialInHandDisplayOptions = {
|
|
29
|
-
fill:
|
|
29
|
+
fill: ColorPalette.notification.infoText,
|
|
30
30
|
height: 130,
|
|
31
31
|
width: 130,
|
|
32
32
|
}
|
|
33
33
|
const animatedCircleDisplayOptions = {
|
|
34
|
-
fill:
|
|
34
|
+
fill: ColorPalette.notification.infoText,
|
|
35
35
|
height: 250,
|
|
36
36
|
width: 250,
|
|
37
37
|
}
|
|
@@ -11,7 +11,7 @@ const timing: Animated.TimingAnimationConfig = {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const LoadingIndicator: React.FC = () => {
|
|
14
|
-
const {
|
|
14
|
+
const { ColorPalette, Assets } = useTheme()
|
|
15
15
|
const rotationAnim = useRef(new Animated.Value(0))
|
|
16
16
|
const rotation = rotationAnim.current.interpolate({
|
|
17
17
|
inputRange: [0, 1],
|
|
@@ -23,7 +23,7 @@ const LoadingIndicator: React.FC = () => {
|
|
|
23
23
|
},
|
|
24
24
|
})
|
|
25
25
|
const imageDisplayOptions = {
|
|
26
|
-
fill:
|
|
26
|
+
fill: ColorPalette.notification.infoText,
|
|
27
27
|
height: 200,
|
|
28
28
|
width: 200,
|
|
29
29
|
}
|
|
@@ -10,7 +10,7 @@ const timing: Animated.TimingAnimationConfig = {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const PresentationLoading: React.FC = () => {
|
|
13
|
-
const {
|
|
13
|
+
const { ColorPalette, Assets } = useTheme()
|
|
14
14
|
const rotationAnim = useRef(new Animated.Value(0))
|
|
15
15
|
const rotation = rotationAnim.current.interpolate({
|
|
16
16
|
inputRange: [0, 1],
|
|
@@ -27,10 +27,10 @@ const PresentationLoading: React.FC = () => {
|
|
|
27
27
|
},
|
|
28
28
|
})
|
|
29
29
|
const displayOptions = {
|
|
30
|
-
fill:
|
|
30
|
+
fill: ColorPalette.notification.infoText,
|
|
31
31
|
}
|
|
32
32
|
const animatedCircleDisplayOptions = {
|
|
33
|
-
fill:
|
|
33
|
+
fill: ColorPalette.notification.infoText,
|
|
34
34
|
height: 250,
|
|
35
35
|
width: 250,
|
|
36
36
|
}
|
|
@@ -20,20 +20,20 @@ const RecordLoading: React.FC<RecordLoadingProps> = ({ style }) => {
|
|
|
20
20
|
const { width } = useWindowDimensions()
|
|
21
21
|
const padding = width * 0.05
|
|
22
22
|
const logoHeight = width * 0.12
|
|
23
|
-
const {
|
|
23
|
+
const { ColorPalette } = useTheme()
|
|
24
24
|
const rowFadeAnim = useRef(new Animated.Value(1))
|
|
25
25
|
const myStyle = StyleSheet.create({
|
|
26
26
|
container: {
|
|
27
27
|
flexDirection: 'column',
|
|
28
28
|
},
|
|
29
29
|
rectangle: {
|
|
30
|
-
backgroundColor:
|
|
30
|
+
backgroundColor: ColorPalette.grayscale.lightGrey,
|
|
31
31
|
height: 30,
|
|
32
32
|
marginVertical: 5,
|
|
33
33
|
borderRadius,
|
|
34
34
|
},
|
|
35
35
|
margin: {
|
|
36
|
-
backgroundColor:
|
|
36
|
+
backgroundColor: ColorPalette.grayscale.lightGrey,
|
|
37
37
|
width: 40,
|
|
38
38
|
borderTopLeftRadius: borderRadius,
|
|
39
39
|
borderBottomLeftRadius: borderRadius,
|
|
@@ -41,7 +41,7 @@ const RecordLoading: React.FC<RecordLoadingProps> = ({ style }) => {
|
|
|
41
41
|
logo: {
|
|
42
42
|
marginLeft: -1 * logoHeight + padding,
|
|
43
43
|
marginTop: padding,
|
|
44
|
-
backgroundColor:
|
|
44
|
+
backgroundColor: ColorPalette.grayscale.lightGrey,
|
|
45
45
|
height: logoHeight,
|
|
46
46
|
width: logoHeight,
|
|
47
47
|
borderRadius,
|
|
@@ -54,7 +54,7 @@ const RecordLoading: React.FC<RecordLoadingProps> = ({ style }) => {
|
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
56
|
<Animated.View
|
|
57
|
-
style={[{ opacity: rowFadeAnim.current, backgroundColor:
|
|
57
|
+
style={[{ opacity: rowFadeAnim.current, backgroundColor: ColorPalette.grayscale.white, borderRadius: 15 }, style]}
|
|
58
58
|
>
|
|
59
59
|
<View style={myStyle.container} testID={testIdWithKey('RecordLoading')}>
|
|
60
60
|
<View style={{ flexDirection: 'row' }}>
|
|
@@ -10,7 +10,7 @@ const timing: Animated.TimingAnimationConfig = {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const SendingProof: React.FC = () => {
|
|
13
|
-
const {
|
|
13
|
+
const { ColorPalette, Assets } = useTheme()
|
|
14
14
|
const rotationAnim = useRef(new Animated.Value(0))
|
|
15
15
|
const rotation = rotationAnim.current.interpolate({
|
|
16
16
|
inputRange: [0, 1],
|
|
@@ -26,12 +26,12 @@ const SendingProof: React.FC = () => {
|
|
|
26
26
|
},
|
|
27
27
|
})
|
|
28
28
|
const credentialInHandDisplayOptions = {
|
|
29
|
-
fill:
|
|
29
|
+
fill: ColorPalette.notification.infoText,
|
|
30
30
|
height: 130,
|
|
31
31
|
width: 130,
|
|
32
32
|
}
|
|
33
33
|
const animatedCircleDisplayOptions = {
|
|
34
|
-
fill:
|
|
34
|
+
fill: ColorPalette.notification.infoText,
|
|
35
35
|
height: 250,
|
|
36
36
|
width: 250,
|
|
37
37
|
}
|
|
@@ -15,7 +15,7 @@ const checkFadeTiming: Animated.TimingAnimationConfig = {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
const SentProof: React.FC = () => {
|
|
18
|
-
const {
|
|
18
|
+
const { ColorPalette, Assets } = useTheme()
|
|
19
19
|
const ringFadeAnim = useRef(new Animated.Value(1))
|
|
20
20
|
const checkFadeAnim = useRef(new Animated.Value(0))
|
|
21
21
|
const style = StyleSheet.create({
|
|
@@ -35,12 +35,12 @@ const SentProof: React.FC = () => {
|
|
|
35
35
|
},
|
|
36
36
|
})
|
|
37
37
|
const credentialInHandDisplayOptions = {
|
|
38
|
-
fill:
|
|
38
|
+
fill: ColorPalette.notification.infoText,
|
|
39
39
|
height: 130,
|
|
40
40
|
width: 130,
|
|
41
41
|
}
|
|
42
42
|
const animatedCircleDisplayOptions = {
|
|
43
|
-
fill:
|
|
43
|
+
fill: ColorPalette.notification.infoText,
|
|
44
44
|
height: 250,
|
|
45
45
|
width: 250,
|
|
46
46
|
}
|
|
@@ -24,7 +24,7 @@ const ButtonImplComponent = (
|
|
|
24
24
|
const buttonStyles = {
|
|
25
25
|
[ButtonType.Critical]: {
|
|
26
26
|
color: Buttons.critical,
|
|
27
|
-
colorDisabled: Buttons.
|
|
27
|
+
colorDisabled: Buttons.criticalDisabled,
|
|
28
28
|
text: Buttons.criticalText,
|
|
29
29
|
textDisabled: Buttons.criticalTextDisabled,
|
|
30
30
|
},
|
|
@@ -32,7 +32,7 @@ const IconButton: React.FC<IconButtonProps> = ({
|
|
|
32
32
|
onPress,
|
|
33
33
|
iconTintColor,
|
|
34
34
|
}) => {
|
|
35
|
-
const {
|
|
35
|
+
const { ColorPalette } = useTheme()
|
|
36
36
|
const style = StyleSheet.create({
|
|
37
37
|
container: {
|
|
38
38
|
flexDirection: 'row',
|
|
@@ -43,12 +43,14 @@ const IconButton: React.FC<IconButtonProps> = ({
|
|
|
43
43
|
minHeight: defaultIconSize,
|
|
44
44
|
},
|
|
45
45
|
title: {
|
|
46
|
-
color:
|
|
46
|
+
color: ColorPalette.brand.headerText,
|
|
47
47
|
marginRight: 4,
|
|
48
48
|
},
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
const myIcon = () =>
|
|
51
|
+
const myIcon = () => (
|
|
52
|
+
<Icon name={icon} size={defaultIconSize} color={iconTintColor ?? ColorPalette.brand.headerIcon} />
|
|
53
|
+
)
|
|
52
54
|
|
|
53
55
|
const myText = () =>
|
|
54
56
|
text ? (
|
|
@@ -23,7 +23,7 @@ const ToggleButton: React.FC<ToggleButtonProps> = ({
|
|
|
23
23
|
disabledIcon = 'close',
|
|
24
24
|
disabled = false,
|
|
25
25
|
}) => {
|
|
26
|
-
const {
|
|
26
|
+
const { ColorPalette } = useTheme()
|
|
27
27
|
const [toggleAnim] = useState(new Animated.Value(isEnabled ? 1 : 0))
|
|
28
28
|
const { t } = useTranslation()
|
|
29
29
|
|
|
@@ -37,7 +37,7 @@ const ToggleButton: React.FC<ToggleButtonProps> = ({
|
|
|
37
37
|
|
|
38
38
|
const backgroundColor = toggleAnim.interpolate({
|
|
39
39
|
inputRange: [0, 1],
|
|
40
|
-
outputRange: [
|
|
40
|
+
outputRange: [ColorPalette.grayscale.lightGrey, ColorPalette.brand.primary],
|
|
41
41
|
})
|
|
42
42
|
|
|
43
43
|
const translateX = toggleAnim.interpolate({
|
|
@@ -82,7 +82,7 @@ const ToggleButton: React.FC<ToggleButtonProps> = ({
|
|
|
82
82
|
<Icon
|
|
83
83
|
name={isEnabled ? enabledIcon : disabledIcon}
|
|
84
84
|
size={15}
|
|
85
|
-
color={isEnabled ?
|
|
85
|
+
color={isEnabled ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
86
86
|
/>
|
|
87
87
|
</Animated.View>
|
|
88
88
|
</Animated.View>
|
|
@@ -21,7 +21,7 @@ interface Props {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const ActionSlider: React.FC<Props> = ({ actions, onDismiss }) => {
|
|
24
|
-
const {
|
|
24
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
25
25
|
const { t } = useTranslation()
|
|
26
26
|
|
|
27
27
|
const styles = StyleSheet.create({
|
|
@@ -33,7 +33,7 @@ const ActionSlider: React.FC<Props> = ({ actions, onDismiss }) => {
|
|
|
33
33
|
height: '100%',
|
|
34
34
|
},
|
|
35
35
|
modalView: {
|
|
36
|
-
backgroundColor:
|
|
36
|
+
backgroundColor: ColorPalette.grayscale.white,
|
|
37
37
|
borderTopStartRadius: 20,
|
|
38
38
|
borderTopEndRadius: 20,
|
|
39
39
|
shadowColor: '#000',
|
|
@@ -61,7 +61,7 @@ const ActionSlider: React.FC<Props> = ({ actions, onDismiss }) => {
|
|
|
61
61
|
marginVertical: 12,
|
|
62
62
|
},
|
|
63
63
|
drawerRowItem: {
|
|
64
|
-
color:
|
|
64
|
+
color: ColorPalette.grayscale.black,
|
|
65
65
|
},
|
|
66
66
|
})
|
|
67
67
|
|
|
@@ -29,7 +29,7 @@ interface NameWalletProps {
|
|
|
29
29
|
|
|
30
30
|
const NameWalletForm: React.FC<NameWalletProps> = ({ isRenaming, onSubmitSuccess, onCancel }) => {
|
|
31
31
|
const { t } = useTranslation()
|
|
32
|
-
const {
|
|
32
|
+
const { ColorPalette, Assets, Spacing } = useTheme()
|
|
33
33
|
const [store, dispatch] = useStore()
|
|
34
34
|
const [loading, setLoading] = useState(false)
|
|
35
35
|
const [walletName, setWalletName] = useState(store.preferences.walletName ?? generateRandomWalletName())
|
|
@@ -42,7 +42,7 @@ const NameWalletForm: React.FC<NameWalletProps> = ({ isRenaming, onSubmitSuccess
|
|
|
42
42
|
const styles = StyleSheet.create({
|
|
43
43
|
screenContainer: {
|
|
44
44
|
flex: 1,
|
|
45
|
-
backgroundColor:
|
|
45
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
46
46
|
padding: Spacing.md,
|
|
47
47
|
justifyContent: 'space-between',
|
|
48
48
|
},
|
|
@@ -25,13 +25,13 @@ const BiometryControl: React.FC<BiometryControlProps> = ({ biometryEnabled, onBi
|
|
|
25
25
|
const { isBiometricsActive } = useAuth()
|
|
26
26
|
const [biometryAvailable, setBiometryAvailable] = useState(false)
|
|
27
27
|
const [settingsPopupConfig, setSettingsPopupConfig] = useState<null | { title: string; description: string }>(null)
|
|
28
|
-
const {
|
|
28
|
+
const { ColorPalette, Assets } = useTheme()
|
|
29
29
|
|
|
30
30
|
const styles = StyleSheet.create({
|
|
31
31
|
container: {
|
|
32
32
|
height: '100%',
|
|
33
33
|
padding: 20,
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
35
35
|
},
|
|
36
36
|
image: {
|
|
37
37
|
minWidth: 200,
|
|
@@ -11,7 +11,7 @@ interface BulletPointProps {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const BulletPoint: React.FC<BulletPointProps> = ({ text, textStyle }) => {
|
|
14
|
-
const {
|
|
14
|
+
const { ColorPalette } = useTheme()
|
|
15
15
|
const styles = StyleSheet.create({
|
|
16
16
|
iconContainer: {
|
|
17
17
|
marginRight: 10,
|
|
@@ -22,7 +22,7 @@ const BulletPoint: React.FC<BulletPointProps> = ({ text, textStyle }) => {
|
|
|
22
22
|
return (
|
|
23
23
|
<View style={{ marginVertical: 10, flexDirection: 'row', alignItems: 'flex-start' }}>
|
|
24
24
|
<View style={styles.iconContainer}>
|
|
25
|
-
<Icon name={'circle'} size={9} color={
|
|
25
|
+
<Icon name={'circle'} size={9} color={ColorPalette.brand.modalIcon} />
|
|
26
26
|
</View>
|
|
27
27
|
<ThemedText style={[textStyle, { flexShrink: 1 }]}>{text}</ThemedText>
|
|
28
28
|
</View>
|
|
@@ -16,7 +16,7 @@ export type ContactCredentialListItemProps = {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
const ContactCredentialListItem = ({ credential, onPress }: ContactCredentialListItemProps) => {
|
|
19
|
-
const { Assets,
|
|
19
|
+
const { Assets, ColorPalette } = useTheme()
|
|
20
20
|
const { t, i18n } = useTranslation()
|
|
21
21
|
const credentialConnectionLabel = useCredentialConnectionLabel(credential)
|
|
22
22
|
const params = useMemo(
|
|
@@ -43,7 +43,7 @@ const ContactCredentialListItem = ({ credential, onPress }: ContactCredentialLis
|
|
|
43
43
|
flex: 9,
|
|
44
44
|
},
|
|
45
45
|
credentialName: {
|
|
46
|
-
color:
|
|
46
|
+
color: ColorPalette.brand.primary,
|
|
47
47
|
fontWeight: '600',
|
|
48
48
|
},
|
|
49
49
|
iconContainer: {
|
|
@@ -53,7 +53,7 @@ const ContactCredentialListItem = ({ credential, onPress }: ContactCredentialLis
|
|
|
53
53
|
})
|
|
54
54
|
|
|
55
55
|
const icon = {
|
|
56
|
-
color:
|
|
56
|
+
color: ColorPalette.brand.primary,
|
|
57
57
|
width: 48,
|
|
58
58
|
height: 48,
|
|
59
59
|
}
|
|
@@ -19,7 +19,7 @@ export interface ContactListItemProps {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const ContactListItem: React.FC<ContactListItemProps> = ({ contact, navigation }) => {
|
|
22
|
-
const {
|
|
22
|
+
const { ColorPalette, ListItems } = useTheme()
|
|
23
23
|
const messages = useChatMessagesByConnection(contact)
|
|
24
24
|
const message = messages[0]
|
|
25
25
|
const hasOnlyInitialMessage = messages.length < 2
|
|
@@ -30,7 +30,7 @@ const ContactListItem: React.FC<ContactListItemProps> = ({ contact, navigation }
|
|
|
30
30
|
container: {
|
|
31
31
|
flexDirection: 'row',
|
|
32
32
|
padding: 16,
|
|
33
|
-
backgroundColor:
|
|
33
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
34
34
|
},
|
|
35
35
|
avatarContainer: {
|
|
36
36
|
alignItems: 'center',
|
|
@@ -88,7 +88,7 @@ const NotificationListItem: React.FC<NotificationListItemProps> = ({
|
|
|
88
88
|
const navigation = useNavigation<StackNavigationProp<HomeStackParams>>()
|
|
89
89
|
const [store, dispatch] = useStore()
|
|
90
90
|
const { t } = useTranslation()
|
|
91
|
-
const {
|
|
91
|
+
const { ColorPalette } = useTheme()
|
|
92
92
|
const { agent } = useAgent()
|
|
93
93
|
const [declineModalVisible, setDeclineModalVisible] = useState(false)
|
|
94
94
|
const [action, setAction] = useState<any>()
|
|
@@ -104,13 +104,13 @@ const NotificationListItem: React.FC<NotificationListItemProps> = ({
|
|
|
104
104
|
const [details, setDetails] = useState<DisplayDetails>(defaultDetails)
|
|
105
105
|
const [styleConfig, setStyleConfig] = useState<StyleConfig>({
|
|
106
106
|
containerStyle: {
|
|
107
|
-
backgroundColor:
|
|
108
|
-
borderColor:
|
|
107
|
+
backgroundColor: ColorPalette.notification.info,
|
|
108
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
109
109
|
},
|
|
110
110
|
textStyle: {
|
|
111
|
-
color:
|
|
111
|
+
color: ColorPalette.notification.infoText,
|
|
112
112
|
},
|
|
113
|
-
iconColor:
|
|
113
|
+
iconColor: ColorPalette.notification.infoIcon,
|
|
114
114
|
iconName: 'info',
|
|
115
115
|
})
|
|
116
116
|
|
|
@@ -410,39 +410,39 @@ const NotificationListItem: React.FC<NotificationListItemProps> = ({
|
|
|
410
410
|
case InfoBoxType.Success:
|
|
411
411
|
setStyleConfig({
|
|
412
412
|
containerStyle: {
|
|
413
|
-
backgroundColor:
|
|
414
|
-
borderColor:
|
|
413
|
+
backgroundColor: ColorPalette.notification.success,
|
|
414
|
+
borderColor: ColorPalette.notification.successBorder,
|
|
415
415
|
},
|
|
416
416
|
textStyle: {
|
|
417
|
-
color:
|
|
417
|
+
color: ColorPalette.notification.successText,
|
|
418
418
|
},
|
|
419
|
-
iconColor:
|
|
419
|
+
iconColor: ColorPalette.notification.successIcon,
|
|
420
420
|
iconName: 'check-circle',
|
|
421
421
|
})
|
|
422
422
|
break
|
|
423
423
|
case InfoBoxType.Warn:
|
|
424
424
|
setStyleConfig({
|
|
425
425
|
containerStyle: {
|
|
426
|
-
backgroundColor:
|
|
427
|
-
borderColor:
|
|
426
|
+
backgroundColor: ColorPalette.notification.warn,
|
|
427
|
+
borderColor: ColorPalette.notification.warnBorder,
|
|
428
428
|
},
|
|
429
429
|
textStyle: {
|
|
430
|
-
color:
|
|
430
|
+
color: ColorPalette.notification.warnText,
|
|
431
431
|
},
|
|
432
|
-
iconColor:
|
|
432
|
+
iconColor: ColorPalette.notification.warnIcon,
|
|
433
433
|
iconName: 'warning',
|
|
434
434
|
})
|
|
435
435
|
break
|
|
436
436
|
case InfoBoxType.Error:
|
|
437
437
|
setStyleConfig({
|
|
438
438
|
containerStyle: {
|
|
439
|
-
backgroundColor:
|
|
440
|
-
borderColor:
|
|
439
|
+
backgroundColor: ColorPalette.notification.error,
|
|
440
|
+
borderColor: ColorPalette.notification.errorBorder,
|
|
441
441
|
},
|
|
442
442
|
textStyle: {
|
|
443
|
-
color:
|
|
443
|
+
color: ColorPalette.notification.errorText,
|
|
444
444
|
},
|
|
445
|
-
iconColor:
|
|
445
|
+
iconColor: ColorPalette.notification.errorIcon,
|
|
446
446
|
iconName: 'error',
|
|
447
447
|
})
|
|
448
448
|
break
|
|
@@ -450,17 +450,17 @@ const NotificationListItem: React.FC<NotificationListItemProps> = ({
|
|
|
450
450
|
default:
|
|
451
451
|
setStyleConfig({
|
|
452
452
|
containerStyle: {
|
|
453
|
-
backgroundColor:
|
|
454
|
-
borderColor:
|
|
453
|
+
backgroundColor: ColorPalette.notification.info,
|
|
454
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
455
455
|
},
|
|
456
456
|
textStyle: {
|
|
457
|
-
color:
|
|
457
|
+
color: ColorPalette.notification.infoText,
|
|
458
458
|
},
|
|
459
|
-
iconColor:
|
|
459
|
+
iconColor: ColorPalette.notification.infoIcon,
|
|
460
460
|
iconName: 'info',
|
|
461
461
|
})
|
|
462
462
|
}
|
|
463
|
-
}, [details,
|
|
463
|
+
}, [details, ColorPalette])
|
|
464
464
|
|
|
465
465
|
return (
|
|
466
466
|
<View style={[styles.container, styleConfig.containerStyle]} testID={testIdWithKey('NotificationListItem')}>
|
|
@@ -21,7 +21,7 @@ interface ConnectionAlertProps {
|
|
|
21
21
|
|
|
22
22
|
const ConnectionAlert: React.FC<ConnectionAlertProps> = ({ connectionLabel }) => {
|
|
23
23
|
const { t } = useTranslation()
|
|
24
|
-
const {
|
|
24
|
+
const { ColorPalette } = useTheme()
|
|
25
25
|
const [infoCardVisible, setInfoCardVisible] = useState(false)
|
|
26
26
|
|
|
27
27
|
const settingsNavigation = useNavigation<StackNavigationProp<RootStackParams>>()
|
|
@@ -31,12 +31,12 @@ const ConnectionAlert: React.FC<ConnectionAlertProps> = ({ connectionLabel }) =>
|
|
|
31
31
|
flex: 1,
|
|
32
32
|
justifyContent: 'center',
|
|
33
33
|
alignItems: 'center',
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
35
35
|
padding: 20,
|
|
36
36
|
},
|
|
37
37
|
notifyTextContainer: {
|
|
38
|
-
borderLeftColor:
|
|
39
|
-
backgroundColor:
|
|
38
|
+
borderLeftColor: ColorPalette.brand.highlight,
|
|
39
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
40
40
|
borderLeftWidth: 10,
|
|
41
41
|
flex: 1,
|
|
42
42
|
paddingLeft: 10,
|
|
@@ -56,7 +56,7 @@ const ConnectionAlert: React.FC<ConnectionAlertProps> = ({ connectionLabel }) =>
|
|
|
56
56
|
marginVertical: 6,
|
|
57
57
|
},
|
|
58
58
|
informationIcon: {
|
|
59
|
-
color:
|
|
59
|
+
color: ColorPalette.notification.infoIcon,
|
|
60
60
|
marginLeft: 10,
|
|
61
61
|
},
|
|
62
62
|
})
|
|
@@ -12,17 +12,17 @@ interface ConnectionImageProps {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const ConnectionImage: React.FC<ConnectionImageProps> = ({ connectionId, imageUri, marginTop }) => {
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette } = useTheme()
|
|
16
16
|
const styles = StyleSheet.create({
|
|
17
17
|
connectionImageContainer: {
|
|
18
|
-
backgroundColor:
|
|
18
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
19
19
|
width: 90,
|
|
20
20
|
height: 90,
|
|
21
21
|
alignItems: 'center',
|
|
22
22
|
justifyContent: 'center',
|
|
23
23
|
borderRadius: 45,
|
|
24
24
|
marginTop: marginTop ?? 15,
|
|
25
|
-
borderColor:
|
|
25
|
+
borderColor: ColorPalette.grayscale.lightGrey,
|
|
26
26
|
borderWidth: 3,
|
|
27
27
|
alignSelf: 'center',
|
|
28
28
|
},
|
|
@@ -46,7 +46,7 @@ const CredentialCard: React.FC<CredentialCardProps> = ({
|
|
|
46
46
|
}) => {
|
|
47
47
|
// add ability to reference credential by ID, allows us to get past react hook restrictions
|
|
48
48
|
const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
|
|
49
|
-
const {
|
|
49
|
+
const { ColorPalette } = useTheme()
|
|
50
50
|
const [overlay, setOverlay] = useState<CredentialOverlay<BrandingOverlay>>({})
|
|
51
51
|
const { resolveBundleForCredential } = useOpenIDCredentials()
|
|
52
52
|
const [extraOverlayAttribute, setExtraOverlayAttribute] = useState<Attribute | undefined>()
|
|
@@ -85,7 +85,7 @@ const CredentialCard: React.FC<CredentialCardProps> = ({
|
|
|
85
85
|
return (
|
|
86
86
|
<CredentialCard11
|
|
87
87
|
displayItems={displayItems}
|
|
88
|
-
style={isBranding10 ? { backgroundColor:
|
|
88
|
+
style={isBranding10 ? { backgroundColor: ColorPalette.brand.secondaryBackground } : undefined}
|
|
89
89
|
credName={credName}
|
|
90
90
|
credDefId={credDefId}
|
|
91
91
|
schemaId={schemaId}
|
|
@@ -79,7 +79,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
79
79
|
const cardHeight = width / 2 // a card height is half of the screen width
|
|
80
80
|
const cardHeaderHeight = cardHeight / 4 // a card has a total of 4 rows, and the header occupy 1 row
|
|
81
81
|
const { t, i18n } = useTranslation()
|
|
82
|
-
const {
|
|
82
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
83
83
|
const [overlay, setOverlay] = useState<CredentialOverlay<LegacyBrandingOverlay>>({})
|
|
84
84
|
const [isRevoked, setIsRevoked] = useState<boolean>(false)
|
|
85
85
|
const credentialConnectionLabel = useCredentialConnectionLabel(credential)
|
|
@@ -119,7 +119,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
119
119
|
borderBottomRightRadius: borderRadius,
|
|
120
120
|
},
|
|
121
121
|
revokedFooter: {
|
|
122
|
-
backgroundColor:
|
|
122
|
+
backgroundColor: ColorPalette.notification.error,
|
|
123
123
|
flexGrow: 1,
|
|
124
124
|
marginHorizontal: -1 * paddingHorizontal,
|
|
125
125
|
marginVertical: -1 * paddingVertical,
|
|
@@ -189,7 +189,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
189
189
|
color:
|
|
190
190
|
overlay?.brandingOverlay?.header?.color ??
|
|
191
191
|
credentialTextColor(
|
|
192
|
-
|
|
192
|
+
ColorPalette,
|
|
193
193
|
overlay?.brandingOverlay?.header?.backgroundColor || overlay?.brandingOverlay?.backgroundColor
|
|
194
194
|
),
|
|
195
195
|
paddingHorizontal: 0.5 * paddingHorizontal,
|
|
@@ -212,7 +212,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
212
212
|
color:
|
|
213
213
|
overlay?.brandingOverlay?.header?.color ??
|
|
214
214
|
credentialTextColor(
|
|
215
|
-
|
|
215
|
+
ColorPalette,
|
|
216
216
|
overlay?.brandingOverlay?.header?.backgroundColor || overlay?.brandingOverlay?.backgroundColor
|
|
217
217
|
),
|
|
218
218
|
textAlign: 'right',
|
|
@@ -241,7 +241,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
241
241
|
{revoked ? (
|
|
242
242
|
<View style={styles.revokedFooter}>
|
|
243
243
|
<Text
|
|
244
|
-
style={[TextTheme.label, { color:
|
|
244
|
+
style={[TextTheme.label, { color: ColorPalette.semantic.error }]}
|
|
245
245
|
testID={testIdWithKey('CredentialRevoked')}
|
|
246
246
|
>
|
|
247
247
|
{t('CredentialDetails.Revoked')}
|
|
@@ -255,7 +255,7 @@ const CredentialCard10: React.FC<CredentialCard10Props> = ({ credential, style =
|
|
|
255
255
|
color:
|
|
256
256
|
overlay?.brandingOverlay?.footer?.color ??
|
|
257
257
|
credentialTextColor(
|
|
258
|
-
|
|
258
|
+
ColorPalette,
|
|
259
259
|
overlay?.brandingOverlay?.footer?.backgroundColor || overlay?.brandingOverlay?.backgroundColor
|
|
260
260
|
),
|
|
261
261
|
},
|