@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
|
@@ -52,7 +52,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
52
52
|
...useCredentialByState(CredentialState.CredentialReceived),
|
|
53
53
|
...useCredentialByState(CredentialState.Done),
|
|
54
54
|
].filter((credential) => credential.connectionId === connection?.id)
|
|
55
|
-
const {
|
|
55
|
+
const { ColorPalette, Assets } = useTheme()
|
|
56
56
|
const [store] = useStore()
|
|
57
57
|
const { width } = useWindowDimensions()
|
|
58
58
|
const contactImageHeight = width * CONTACT_IMG_PERCENTAGE
|
|
@@ -76,7 +76,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
76
76
|
const styles = StyleSheet.create({
|
|
77
77
|
contentContainer: {
|
|
78
78
|
padding: 20,
|
|
79
|
-
backgroundColor:
|
|
79
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
80
80
|
},
|
|
81
81
|
contactContainer: {
|
|
82
82
|
flexDirection: 'row',
|
|
@@ -242,7 +242,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
242
242
|
fontSize: contactImageHeight,
|
|
243
243
|
lineHeight: contactImageHeight,
|
|
244
244
|
alignSelf: 'center',
|
|
245
|
-
color:
|
|
245
|
+
color: ColorPalette.brand.primary,
|
|
246
246
|
}}
|
|
247
247
|
>
|
|
248
248
|
{contactLabel.charAt(0).toUpperCase()}
|
|
@@ -271,14 +271,14 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
271
271
|
)}
|
|
272
272
|
{contactDetailsOptions?.enableCredentialList && (
|
|
273
273
|
<>
|
|
274
|
-
<View style={{ borderTopColor:
|
|
274
|
+
<View style={{ borderTopColor: ColorPalette.grayscale.lightGrey, borderWidth: 1, marginTop: 20 }}></View>
|
|
275
275
|
<ThemedText variant="headingFour" style={{ marginVertical: 16 }}>
|
|
276
276
|
{t('ContactDetails.Credentials')}
|
|
277
277
|
</ThemedText>
|
|
278
278
|
<FlatList
|
|
279
279
|
ItemSeparatorComponent={() => <View style={{ height: 20 }}></View>}
|
|
280
280
|
ListEmptyComponent={() => (
|
|
281
|
-
<ThemedText style={{ color:
|
|
281
|
+
<ThemedText style={{ color: ColorPalette.grayscale.lightGrey }}>
|
|
282
282
|
{t('ContactDetails.NoCredentials')}
|
|
283
283
|
</ThemedText>
|
|
284
284
|
)}
|
|
@@ -303,7 +303,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
303
303
|
testID={testIdWithKey('RenameContact')}
|
|
304
304
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
305
305
|
>
|
|
306
|
-
<Assets.svg.iconEdit width={20} height={20} color={
|
|
306
|
+
<Assets.svg.iconEdit width={20} height={20} color={ColorPalette.brand.text} />
|
|
307
307
|
<ThemedText>{t('Screens.RenameContact')}</ThemedText>
|
|
308
308
|
</TouchableOpacity>
|
|
309
309
|
)}
|
|
@@ -316,7 +316,7 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
316
316
|
testID={testIdWithKey('JSONDetails')}
|
|
317
317
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
318
318
|
>
|
|
319
|
-
<Assets.svg.iconCode width={20} height={20} color={
|
|
319
|
+
<Assets.svg.iconCode width={20} height={20} color={ColorPalette.brand.text} />
|
|
320
320
|
<ThemedText>{t('Global.ViewJSON')}</ThemedText>
|
|
321
321
|
</TouchableOpacity>
|
|
322
322
|
)}
|
|
@@ -327,8 +327,8 @@ const ContactDetails: React.FC<ContactDetailsProps> = ({ route }) => {
|
|
|
327
327
|
testID={testIdWithKey('RemoveFromWallet')}
|
|
328
328
|
style={[styles.contentContainer, styles.actionContainer, { marginTop: 10 }]}
|
|
329
329
|
>
|
|
330
|
-
<Assets.svg.iconDelete width={20} height={20} color={
|
|
331
|
-
<ThemedText style={{ color:
|
|
330
|
+
<Assets.svg.iconDelete width={20} height={20} color={ColorPalette.semantic.error} />
|
|
331
|
+
<ThemedText style={{ color: ColorPalette.semantic.error }}>{t('ContactDetails.RemoveContact')}</ThemedText>
|
|
332
332
|
</TouchableOpacity>
|
|
333
333
|
</View>
|
|
334
334
|
<CommonRemoveModal
|
|
@@ -54,7 +54,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
54
54
|
const [credential, setCredential] = useState<CredentialExchangeRecord | undefined>(undefined)
|
|
55
55
|
const { agent } = useAgent()
|
|
56
56
|
const { t, i18n } = useTranslation()
|
|
57
|
-
const {
|
|
57
|
+
const { ColorPalette, Assets } = useTheme()
|
|
58
58
|
const [bundleResolver, logger, historyManagerCurried, historyEnabled, historyEventsLogger] = useServices([
|
|
59
59
|
TOKENS.UTIL_OCA_RESOLVER,
|
|
60
60
|
TOKENS.UTIL_LOGGER,
|
|
@@ -119,7 +119,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
119
119
|
})
|
|
120
120
|
|
|
121
121
|
const icon = {
|
|
122
|
-
color: credentialTextColor(
|
|
122
|
+
color: credentialTextColor(ColorPalette, containerBackgroundColor),
|
|
123
123
|
width: 48,
|
|
124
124
|
height: 48,
|
|
125
125
|
}
|
|
@@ -323,7 +323,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
323
323
|
<CredentialCardLogo overlay={overlay} brandingOverlayType={bundleResolver.getBrandingOverlayType()} />
|
|
324
324
|
<ThemedText
|
|
325
325
|
style={{
|
|
326
|
-
color: credentialTextColor(
|
|
326
|
+
color: credentialTextColor(ColorPalette, containerBackgroundColor),
|
|
327
327
|
flexWrap: 'wrap',
|
|
328
328
|
maxWidth: '90%',
|
|
329
329
|
}}
|
|
@@ -334,7 +334,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
334
334
|
<Assets.svg.iconChevronRight {...icon} />
|
|
335
335
|
</View>
|
|
336
336
|
</TouchableOpacity>
|
|
337
|
-
<View style={{ backgroundColor:
|
|
337
|
+
<View style={{ backgroundColor: ColorPalette.brand.secondaryBackground }}>
|
|
338
338
|
<CredentialDetailPrimaryHeader
|
|
339
339
|
overlay={overlay}
|
|
340
340
|
brandingOverlayType={bundleResolver.getBrandingOverlayType()}
|
|
@@ -362,7 +362,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
362
362
|
<View
|
|
363
363
|
style={{
|
|
364
364
|
padding: paddingVertical,
|
|
365
|
-
backgroundColor:
|
|
365
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
366
366
|
...(isBranding11 && { paddingTop: 0 }),
|
|
367
367
|
}}
|
|
368
368
|
>
|
|
@@ -379,27 +379,27 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
379
379
|
{credentialConnectionLabel && isBranding10 ? (
|
|
380
380
|
<View
|
|
381
381
|
style={{
|
|
382
|
-
backgroundColor:
|
|
382
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
383
383
|
marginTop: paddingVertical,
|
|
384
384
|
paddingHorizontal,
|
|
385
385
|
paddingVertical,
|
|
386
386
|
}}
|
|
387
387
|
>
|
|
388
388
|
<ThemedText testID={testIdWithKey('IssuerName')}>
|
|
389
|
-
<ThemedText variant="title" style={isRevoked && { color:
|
|
389
|
+
<ThemedText variant="title" style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
390
390
|
{t('CredentialDetails.IssuedBy') + ' '}
|
|
391
391
|
</ThemedText>
|
|
392
|
-
<ThemedText style={isRevoked && { color:
|
|
392
|
+
<ThemedText style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
393
393
|
{credentialConnectionLabel}
|
|
394
394
|
</ThemedText>
|
|
395
395
|
</ThemedText>
|
|
396
396
|
{/* issued date if dev mode */}
|
|
397
397
|
{store?.preferences.developerModeEnabled && credential?.createdAt ? (
|
|
398
398
|
<ThemedText testID={testIdWithKey('IssuedDate')}>
|
|
399
|
-
<ThemedText variant="title" style={isRevoked && { color:
|
|
399
|
+
<ThemedText variant="title" style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
400
400
|
{t('CredentialDetails.Issued') + ': '}
|
|
401
401
|
</ThemedText>
|
|
402
|
-
<ThemedText style={isRevoked && { color:
|
|
402
|
+
<ThemedText style={isRevoked && { color: ColorPalette.grayscale.mediumGrey }}>
|
|
403
403
|
{formatTime(credential.createdAt, { format: 'YYYY-MM-DD HH:mm:ss [UTC]' })}
|
|
404
404
|
</ThemedText>
|
|
405
405
|
</ThemedText>
|
|
@@ -409,7 +409,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
409
409
|
{store?.preferences.developerModeEnabled && (
|
|
410
410
|
<View
|
|
411
411
|
style={{
|
|
412
|
-
backgroundColor:
|
|
412
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
413
413
|
marginTop: paddingVertical,
|
|
414
414
|
paddingHorizontal,
|
|
415
415
|
paddingVertical,
|
|
@@ -422,7 +422,7 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
422
422
|
testID={testIdWithKey('JSONDetails')}
|
|
423
423
|
style={{ flexDirection: 'row', gap: 8 }}
|
|
424
424
|
>
|
|
425
|
-
<Assets.svg.iconCode width={20} height={20} color={
|
|
425
|
+
<Assets.svg.iconCode width={20} height={20} color={ColorPalette.brand.secondary} />
|
|
426
426
|
<ThemedText>{t('Global.ViewJSON')}</ThemedText>
|
|
427
427
|
</TouchableOpacity>
|
|
428
428
|
</View>
|
|
@@ -430,20 +430,20 @@ const CredentialDetails: React.FC<CredentialDetailsProps> = ({ navigation, route
|
|
|
430
430
|
{isRevoked ? (
|
|
431
431
|
<View
|
|
432
432
|
style={{
|
|
433
|
-
backgroundColor:
|
|
433
|
+
backgroundColor: ColorPalette.notification.error,
|
|
434
434
|
marginTop: paddingVertical,
|
|
435
435
|
paddingHorizontal,
|
|
436
436
|
paddingVertical,
|
|
437
437
|
}}
|
|
438
438
|
>
|
|
439
439
|
<ThemedText testID={testIdWithKey('RevokedDate')}>
|
|
440
|
-
<ThemedText variant="title" style={{ color:
|
|
440
|
+
<ThemedText variant="title" style={{ color: ColorPalette.notification.errorText }}>
|
|
441
441
|
{t('CredentialDetails.Revoked') + ': '}
|
|
442
442
|
</ThemedText>
|
|
443
|
-
<ThemedText style={{ color:
|
|
443
|
+
<ThemedText style={{ color: ColorPalette.notification.errorText }}>{preciseRevocationDate}</ThemedText>
|
|
444
444
|
</ThemedText>
|
|
445
445
|
<ThemedText
|
|
446
|
-
style={{ color:
|
|
446
|
+
style={{ color: ColorPalette.notification.errorText, marginTop: paddingVertical }}
|
|
447
447
|
testID={testIdWithKey('RevocationMessage')}
|
|
448
448
|
>
|
|
449
449
|
{credential?.revocationNotification?.comment
|
|
@@ -46,7 +46,7 @@ type CredentialOfferProps = {
|
|
|
46
46
|
const CredentialOffer: React.FC<CredentialOfferProps> = ({ navigation, credentialId }) => {
|
|
47
47
|
const { agent } = useAppAgent()
|
|
48
48
|
const { t, i18n } = useTranslation()
|
|
49
|
-
const {
|
|
49
|
+
const { ColorPalette } = useTheme()
|
|
50
50
|
const { RecordLoading } = useAnimatedComponents()
|
|
51
51
|
const { assertNetworkConnected } = useNetwork()
|
|
52
52
|
const [
|
|
@@ -286,7 +286,7 @@ const CredentialOffer: React.FC<CredentialOfferProps> = ({ navigation, credentia
|
|
|
286
286
|
paddingHorizontal: 25,
|
|
287
287
|
paddingVertical: 16,
|
|
288
288
|
paddingBottom: 26,
|
|
289
|
-
backgroundColor:
|
|
289
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
290
290
|
}}
|
|
291
291
|
>
|
|
292
292
|
{loading ? <RecordLoading /> : null}
|
|
@@ -14,12 +14,12 @@ import { ThemedText } from '../components/texts/ThemedText'
|
|
|
14
14
|
const DataRetention: React.FC = () => {
|
|
15
15
|
const { t } = useTranslation()
|
|
16
16
|
const [store, dispatch] = useStore()
|
|
17
|
-
const {
|
|
17
|
+
const { ColorPalette, SettingsTheme } = useTheme()
|
|
18
18
|
const [useDataRetention, setUseDataRetention] = useState<boolean>(!!store.preferences.useDataRetention)
|
|
19
19
|
|
|
20
20
|
const styles = StyleSheet.create({
|
|
21
21
|
container: {
|
|
22
|
-
backgroundColor:
|
|
22
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
23
23
|
width: '100%',
|
|
24
24
|
},
|
|
25
25
|
section: {
|
|
@@ -34,7 +34,7 @@ const DataRetention: React.FC = () => {
|
|
|
34
34
|
},
|
|
35
35
|
itemSeparator: {
|
|
36
36
|
borderBottomWidth: 1,
|
|
37
|
-
borderBottomColor:
|
|
37
|
+
borderBottomColor: ColorPalette.brand.primaryBackground,
|
|
38
38
|
marginHorizontal: 25,
|
|
39
39
|
},
|
|
40
40
|
})
|
|
@@ -54,11 +54,11 @@ const DataRetention: React.FC = () => {
|
|
|
54
54
|
<BouncyCheckbox
|
|
55
55
|
accessibilityLabel={t('Global.On')}
|
|
56
56
|
disableText
|
|
57
|
-
fillColor={
|
|
58
|
-
unfillColor={
|
|
57
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
58
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
59
59
|
size={36}
|
|
60
|
-
innerIconStyle={{ borderColor:
|
|
61
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
60
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
61
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
|
|
62
62
|
onPress={() => updateDataRetention(true)}
|
|
63
63
|
isChecked={useDataRetention}
|
|
64
64
|
disableBuiltInState
|
|
@@ -73,11 +73,11 @@ const DataRetention: React.FC = () => {
|
|
|
73
73
|
<BouncyCheckbox
|
|
74
74
|
accessibilityLabel={t('Global.Off')}
|
|
75
75
|
disableText
|
|
76
|
-
fillColor={
|
|
77
|
-
unfillColor={
|
|
76
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
77
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
78
78
|
size={36}
|
|
79
|
-
innerIconStyle={{ borderColor:
|
|
80
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
79
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
80
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
|
|
81
81
|
onPress={() => updateDataRetention(false)}
|
|
82
82
|
isChecked={!useDataRetention}
|
|
83
83
|
disableBuiltInState
|
|
@@ -12,7 +12,7 @@ import { ThemedText } from '../components/texts/ThemedText'
|
|
|
12
12
|
const Developer: React.FC = () => {
|
|
13
13
|
const [store, dispatch] = useStore()
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette } = useTheme()
|
|
16
16
|
const [useVerifierCapability, setUseVerifierCapability] = useState(!!store.preferences.useVerifierCapability)
|
|
17
17
|
const [useConnectionInviterCapability, setConnectionInviterCapability] = useState(
|
|
18
18
|
!!store.preferences.useConnectionInviterCapability
|
|
@@ -136,9 +136,9 @@ const Developer: React.FC = () => {
|
|
|
136
136
|
testID={testIdWithKey('ToggleVerifierCapability')}
|
|
137
137
|
>
|
|
138
138
|
<Switch
|
|
139
|
-
trackColor={{ false:
|
|
140
|
-
thumbColor={useVerifierCapability ?
|
|
141
|
-
ios_backgroundColor={
|
|
139
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
140
|
+
thumbColor={useVerifierCapability ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
141
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
142
142
|
onValueChange={toggleVerifierCapabilitySwitch}
|
|
143
143
|
testID={testIdWithKey('VerifierCapabilitySwitchElement')}
|
|
144
144
|
value={useVerifierCapability}
|
|
@@ -158,9 +158,9 @@ const Developer: React.FC = () => {
|
|
|
158
158
|
testID={testIdWithKey('ToggleAcceptDevCredentials')}
|
|
159
159
|
>
|
|
160
160
|
<Switch
|
|
161
|
-
trackColor={{ false:
|
|
162
|
-
thumbColor={acceptDevCredentials ?
|
|
163
|
-
ios_backgroundColor={
|
|
161
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
162
|
+
thumbColor={acceptDevCredentials ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
163
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
164
164
|
onValueChange={toggleAcceptDevCredentialsSwitch}
|
|
165
165
|
testID={testIdWithKey('AcceptDevCredentialsSwitchElement')}
|
|
166
166
|
value={acceptDevCredentials}
|
|
@@ -180,9 +180,11 @@ const Developer: React.FC = () => {
|
|
|
180
180
|
testID={testIdWithKey('ToggleConnectionInviterCapabilitySwitch')}
|
|
181
181
|
>
|
|
182
182
|
<Switch
|
|
183
|
-
trackColor={{ false:
|
|
184
|
-
thumbColor={
|
|
185
|
-
|
|
183
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
184
|
+
thumbColor={
|
|
185
|
+
useConnectionInviterCapability ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey
|
|
186
|
+
}
|
|
187
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
186
188
|
onValueChange={toggleConnectionInviterCapabilitySwitch}
|
|
187
189
|
testID={testIdWithKey('ConnectionInviterCapabilitySwitchElement')}
|
|
188
190
|
value={useConnectionInviterCapability}
|
|
@@ -202,9 +204,9 @@ const Developer: React.FC = () => {
|
|
|
202
204
|
testID={testIdWithKey('ToggleDevVerifierTemplatesSwitch')}
|
|
203
205
|
>
|
|
204
206
|
<Switch
|
|
205
|
-
trackColor={{ false:
|
|
206
|
-
thumbColor={useDevVerifierTemplates ?
|
|
207
|
-
ios_backgroundColor={
|
|
207
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
208
|
+
thumbColor={useDevVerifierTemplates ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
209
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
208
210
|
onValueChange={toggleDevVerifierTemplatesSwitch}
|
|
209
211
|
testID={testIdWithKey('DevVerifierTemplatesSwitchElement')}
|
|
210
212
|
value={useDevVerifierTemplates}
|
|
@@ -225,9 +227,9 @@ const Developer: React.FC = () => {
|
|
|
225
227
|
testID={testIdWithKey('ToggleEnableWalletNamingSwitch')}
|
|
226
228
|
>
|
|
227
229
|
<Switch
|
|
228
|
-
trackColor={{ false:
|
|
229
|
-
thumbColor={enableWalletNaming ?
|
|
230
|
-
ios_backgroundColor={
|
|
230
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
231
|
+
thumbColor={enableWalletNaming ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
232
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
231
233
|
onValueChange={toggleWalletNamingSwitch}
|
|
232
234
|
testID={testIdWithKey('EnableWalletNamingSwitchElement')}
|
|
233
235
|
value={enableWalletNaming}
|
|
@@ -248,9 +250,9 @@ const Developer: React.FC = () => {
|
|
|
248
250
|
testID={testIdWithKey('TogglePreventAutoLockSwitch')}
|
|
249
251
|
>
|
|
250
252
|
<Switch
|
|
251
|
-
trackColor={{ false:
|
|
252
|
-
thumbColor={preventAutoLock ?
|
|
253
|
-
ios_backgroundColor={
|
|
253
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
254
|
+
thumbColor={preventAutoLock ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
255
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
254
256
|
onValueChange={togglePreventAutoLockSwitch}
|
|
255
257
|
testID={testIdWithKey('PreventAutoLockSwitchElement')}
|
|
256
258
|
value={preventAutoLock}
|
|
@@ -270,9 +272,9 @@ const Developer: React.FC = () => {
|
|
|
270
272
|
testID={testIdWithKey('ToggleUseShareableLink')}
|
|
271
273
|
>
|
|
272
274
|
<Switch
|
|
273
|
-
trackColor={{ false:
|
|
274
|
-
thumbColor={enableShareableLink ?
|
|
275
|
-
ios_backgroundColor={
|
|
275
|
+
trackColor={{ false: ColorPalette.grayscale.lightGrey, true: ColorPalette.brand.primaryDisabled }}
|
|
276
|
+
thumbColor={enableShareableLink ? ColorPalette.brand.primary : ColorPalette.grayscale.mediumGrey}
|
|
277
|
+
ios_backgroundColor={ColorPalette.grayscale.lightGrey}
|
|
276
278
|
onValueChange={toggleShareableLinkSwitch}
|
|
277
279
|
testID={testIdWithKey('ShareableLinkSwitchElement')}
|
|
278
280
|
value={enableShareableLink}
|
package/src/screens/Home.tsx
CHANGED
|
@@ -34,7 +34,7 @@ const Home: React.FC<HomeProps> = () => {
|
|
|
34
34
|
])
|
|
35
35
|
const notifications = useNotifications({})
|
|
36
36
|
const { t } = useTranslation()
|
|
37
|
-
const {
|
|
37
|
+
const { ColorPalette } = useTheme()
|
|
38
38
|
const [store, dispatch] = useStore()
|
|
39
39
|
const { start, stop } = useTour()
|
|
40
40
|
const [showTourPopup, setShowTourPopup] = useState(false)
|
|
@@ -148,7 +148,7 @@ const Home: React.FC<HomeProps> = () => {
|
|
|
148
148
|
paddingHorizontal: 20,
|
|
149
149
|
paddingTop: index === 0 ? 20 : 0,
|
|
150
150
|
paddingBottom: index === notifications.length - 1 ? 20 : 10,
|
|
151
|
-
backgroundColor:
|
|
151
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
152
152
|
}}
|
|
153
153
|
>
|
|
154
154
|
{DisplayListItemType(item)}
|
|
@@ -19,12 +19,12 @@ const JSONDetails = ({ route }: JSONDetailsProps) => {
|
|
|
19
19
|
throw new Error('JSONDetails route params were not set properly')
|
|
20
20
|
}
|
|
21
21
|
const { t } = useTranslation()
|
|
22
|
-
const {
|
|
22
|
+
const { ColorPalette } = useTheme()
|
|
23
23
|
const { jsonBlob } = route.params
|
|
24
24
|
const styles = StyleSheet.create({
|
|
25
25
|
container: {
|
|
26
26
|
flex: 1,
|
|
27
|
-
backgroundColor:
|
|
27
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
28
28
|
padding: 20,
|
|
29
29
|
},
|
|
30
30
|
title: {
|
|
@@ -36,7 +36,7 @@ const JSONDetails = ({ route }: JSONDetailsProps) => {
|
|
|
36
36
|
},
|
|
37
37
|
jsonContainer: {
|
|
38
38
|
padding: 16,
|
|
39
|
-
backgroundColor:
|
|
39
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
40
40
|
height: '75%',
|
|
41
41
|
borderWidth: 1,
|
|
42
42
|
borderStyle: 'solid',
|
package/src/screens/Language.tsx
CHANGED
|
@@ -17,7 +17,7 @@ interface Language {
|
|
|
17
17
|
|
|
18
18
|
const Language = () => {
|
|
19
19
|
const { t, i18n } = useTranslation()
|
|
20
|
-
const {
|
|
20
|
+
const { ColorPalette, SettingsTheme } = useTheme()
|
|
21
21
|
const [{ supportedLanguages }] = useServices([TOKENS.CONFIG])
|
|
22
22
|
|
|
23
23
|
const languages: Language[] = supportedLanguages.map((lang) => ({
|
|
@@ -27,7 +27,7 @@ const Language = () => {
|
|
|
27
27
|
|
|
28
28
|
const styles = StyleSheet.create({
|
|
29
29
|
container: {
|
|
30
|
-
backgroundColor:
|
|
30
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
31
31
|
width: '100%',
|
|
32
32
|
},
|
|
33
33
|
section: {
|
|
@@ -42,7 +42,7 @@ const Language = () => {
|
|
|
42
42
|
},
|
|
43
43
|
itemSeparator: {
|
|
44
44
|
borderBottomWidth: 1,
|
|
45
|
-
borderBottomColor:
|
|
45
|
+
borderBottomColor: ColorPalette.brand.primaryBackground,
|
|
46
46
|
marginHorizontal: 25,
|
|
47
47
|
},
|
|
48
48
|
})
|
|
@@ -71,11 +71,11 @@ const Language = () => {
|
|
|
71
71
|
accessibilityLabel={`${id === i18n.language ? t('Language.Checked') : t('Language.NotChecked')}`} // add on voice over the text checked / not checked after the text from value above
|
|
72
72
|
accessibilityRole="radio"
|
|
73
73
|
disableText
|
|
74
|
-
fillColor={
|
|
75
|
-
unfillColor={
|
|
74
|
+
fillColor={ColorPalette.brand.secondaryBackground}
|
|
75
|
+
unfillColor={ColorPalette.brand.secondaryBackground}
|
|
76
76
|
size={36}
|
|
77
|
-
innerIconStyle={{ borderColor:
|
|
78
|
-
ImageComponent={() => <Icon name="circle" size={18} color={
|
|
77
|
+
innerIconStyle={{ borderColor: ColorPalette.brand.primary, borderWidth: 2 }}
|
|
78
|
+
ImageComponent={() => <Icon name="circle" size={18} color={ColorPalette.brand.primary}></Icon>}
|
|
79
79
|
onPress={async () => await handleLanguageChange(language)}
|
|
80
80
|
isChecked={id === i18n.language}
|
|
81
81
|
disableBuiltInState
|
|
@@ -22,7 +22,7 @@ interface ListContactsProps {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
const ListContacts: React.FC<ListContactsProps> = ({ navigation }) => {
|
|
25
|
-
const {
|
|
25
|
+
const { ColorPalette } = useTheme()
|
|
26
26
|
const { t } = useTranslation()
|
|
27
27
|
const { agent } = useAgent()
|
|
28
28
|
const [connections, setConnections] = useState<ConnectionRecord[]>([])
|
|
@@ -35,10 +35,10 @@ const ListContacts: React.FC<ListContactsProps> = ({ navigation }) => {
|
|
|
35
35
|
])
|
|
36
36
|
const style = StyleSheet.create({
|
|
37
37
|
list: {
|
|
38
|
-
backgroundColor:
|
|
38
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
39
39
|
},
|
|
40
40
|
itemSeparator: {
|
|
41
|
-
backgroundColor:
|
|
41
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
42
42
|
height: 1,
|
|
43
43
|
marginHorizontal: 16,
|
|
44
44
|
},
|
|
@@ -37,7 +37,7 @@ const ListCredentials: React.FC = () => {
|
|
|
37
37
|
TOKENS.CONFIG,
|
|
38
38
|
])
|
|
39
39
|
const navigation = useNavigation<StackNavigationProp<RootStackParams>>()
|
|
40
|
-
const {
|
|
40
|
+
const { ColorPalette } = useTheme()
|
|
41
41
|
const { start, stop } = useTour()
|
|
42
42
|
const screenIsFocused = useIsFocused()
|
|
43
43
|
const {
|
|
@@ -108,7 +108,7 @@ const ListCredentials: React.FC = () => {
|
|
|
108
108
|
return (
|
|
109
109
|
<View>
|
|
110
110
|
<FlatList
|
|
111
|
-
style={{ backgroundColor:
|
|
111
|
+
style={{ backgroundColor: ColorPalette.brand.primaryBackground }}
|
|
112
112
|
data={credentials.sort((a, b) => new Date(b.createdAt).valueOf() - new Date(a.createdAt).valueOf())}
|
|
113
113
|
keyExtractor={(credential) => credential.id}
|
|
114
114
|
renderItem={({ item: credential, index }) => {
|
|
@@ -112,7 +112,7 @@ type ListProofRequestsProps = StackScreenProps<ProofRequestsStackParams, Screens
|
|
|
112
112
|
|
|
113
113
|
const ListProofRequests: React.FC<ListProofRequestsProps> = ({ navigation, route }) => {
|
|
114
114
|
const { t } = useTranslation()
|
|
115
|
-
const {
|
|
115
|
+
const { ColorPalette } = useTheme()
|
|
116
116
|
const [store] = useStore()
|
|
117
117
|
|
|
118
118
|
const style = StyleSheet.create({
|
|
@@ -133,7 +133,7 @@ const ListProofRequests: React.FC<ListProofRequestsProps> = ({ navigation, route
|
|
|
133
133
|
return (
|
|
134
134
|
<SafeAreaView style={style.container} edges={['left', 'right']}>
|
|
135
135
|
<FlatList
|
|
136
|
-
style={{ backgroundColor:
|
|
136
|
+
style={{ backgroundColor: ColorPalette.brand.primaryBackground }}
|
|
137
137
|
data={proofRequestTemplates}
|
|
138
138
|
keyExtractor={(records) => records.id}
|
|
139
139
|
renderItem={({ item }) => {
|
|
@@ -21,7 +21,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
|
|
|
21
21
|
const goalCode = useOutOfBandByConnectionId(connectionId)?.outOfBandInvitation.goalCode
|
|
22
22
|
const proofRecord = useProofById(proofId)
|
|
23
23
|
const { t } = useTranslation()
|
|
24
|
-
const {
|
|
24
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
25
25
|
const { agent } = useAgent()
|
|
26
26
|
|
|
27
27
|
if (!agent) {
|
|
@@ -31,7 +31,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
|
|
|
31
31
|
const styles = StyleSheet.create({
|
|
32
32
|
container: {
|
|
33
33
|
height: '100%',
|
|
34
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
35
35
|
padding: 20,
|
|
36
36
|
},
|
|
37
37
|
image: {
|
|
@@ -73,7 +73,7 @@ const MobileVerifierLoading: React.FC<MobileVerifierLoadingProps> = ({ navigatio
|
|
|
73
73
|
|
|
74
74
|
return (
|
|
75
75
|
<SafeAreaModal transparent animationType={'slide'}>
|
|
76
|
-
<SafeAreaView style={{ backgroundColor:
|
|
76
|
+
<SafeAreaView style={{ backgroundColor: ColorPalette.brand.modalPrimaryBackground }}>
|
|
77
77
|
<ScrollView style={styles.container}>
|
|
78
78
|
<View style={styles.messageContainer}>
|
|
79
79
|
<ThemedText
|
|
@@ -42,7 +42,7 @@ const PINChange: React.FC<StackScreenProps<SettingStackParams, Screens.ChangePIN
|
|
|
42
42
|
const navigation = useNavigation<StackNavigationProp<OnboardingStackParams>>()
|
|
43
43
|
const [store] = useStore()
|
|
44
44
|
const { t } = useTranslation()
|
|
45
|
-
const {
|
|
45
|
+
const { ColorPalette } = useTheme()
|
|
46
46
|
const { ButtonLoading } = useAnimatedComponents()
|
|
47
47
|
const PINTwoInputRef = useRef<TextInput>(null)
|
|
48
48
|
const createPINButtonRef = useRef<TouchableOpacity>(null)
|
|
@@ -82,7 +82,7 @@ const PINChange: React.FC<StackScreenProps<SettingStackParams, Screens.ChangePIN
|
|
|
82
82
|
const style = StyleSheet.create({
|
|
83
83
|
screenContainer: {
|
|
84
84
|
height: '100%',
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
86
86
|
padding: 20,
|
|
87
87
|
justifyContent: 'space-between',
|
|
88
88
|
},
|
|
@@ -45,7 +45,7 @@ const PINCreate: React.FC<PINCreateProps> = ({ setAuthenticated, explainedStatus
|
|
|
45
45
|
const [, dispatch] = useStore()
|
|
46
46
|
const { t } = useTranslation()
|
|
47
47
|
|
|
48
|
-
const {
|
|
48
|
+
const { ColorPalette } = useTheme()
|
|
49
49
|
const { ButtonLoading } = useAnimatedComponents()
|
|
50
50
|
const PINTwoInputRef = useRef<TextInput>(null)
|
|
51
51
|
const createPINButtonRef = useRef<TouchableOpacity>(null)
|
|
@@ -65,7 +65,7 @@ const PINCreate: React.FC<PINCreateProps> = ({ setAuthenticated, explainedStatus
|
|
|
65
65
|
const style = StyleSheet.create({
|
|
66
66
|
screenContainer: {
|
|
67
67
|
height: '100%',
|
|
68
|
-
backgroundColor:
|
|
68
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
69
69
|
padding: 20,
|
|
70
70
|
justifyContent: 'space-between',
|
|
71
71
|
},
|
package/src/screens/PINEnter.tsx
CHANGED
|
@@ -40,7 +40,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
|
|
|
40
40
|
const [forgotPINModalVisible, setForgotPINModalVisible] = useState(false)
|
|
41
41
|
const [devModalVisible, setDevModalVisible] = useState(false)
|
|
42
42
|
const [biometricsEnrollmentChange, setBiometricsEnrollmentChange] = useState(false)
|
|
43
|
-
const {
|
|
43
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
44
44
|
const { ButtonLoading } = useAnimatedComponents()
|
|
45
45
|
const [
|
|
46
46
|
logger,
|
|
@@ -236,7 +236,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
|
|
|
236
236
|
height: '100%',
|
|
237
237
|
padding: 20,
|
|
238
238
|
justifyContent: 'space-between',
|
|
239
|
-
backgroundColor:
|
|
239
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
240
240
|
},
|
|
241
241
|
buttonContainer: {
|
|
242
242
|
width: '100%',
|
|
@@ -264,7 +264,7 @@ const PINEnter: React.FC<PINEnterProps> = ({ setAuthenticated }) => {
|
|
|
264
264
|
marginBottom: 20,
|
|
265
265
|
},
|
|
266
266
|
forgotPINText: {
|
|
267
|
-
color:
|
|
267
|
+
color: ColorPalette.brand.link,
|
|
268
268
|
fontSize: 20,
|
|
269
269
|
},
|
|
270
270
|
buildNumberText: {
|
|
@@ -15,12 +15,12 @@ export interface PINExplainerProps {
|
|
|
15
15
|
|
|
16
16
|
const PINExplainer: React.FC<PINExplainerProps> = ({ continueCreatePIN }) => {
|
|
17
17
|
const { t } = useTranslation()
|
|
18
|
-
const {
|
|
18
|
+
const { ColorPalette, TextTheme, Assets } = useTheme()
|
|
19
19
|
|
|
20
20
|
const style = StyleSheet.create({
|
|
21
21
|
safeAreaView: {
|
|
22
22
|
flex: 1,
|
|
23
|
-
backgroundColor:
|
|
23
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
24
24
|
},
|
|
25
25
|
scrollViewContentContainer: {
|
|
26
26
|
padding: 20,
|
|
@@ -37,7 +37,7 @@ const PINExplainer: React.FC<PINExplainerProps> = ({ continueCreatePIN }) => {
|
|
|
37
37
|
})
|
|
38
38
|
|
|
39
39
|
const imageDisplayOptions = {
|
|
40
|
-
fill:
|
|
40
|
+
fill: ColorPalette.notification.infoText,
|
|
41
41
|
height: 150,
|
|
42
42
|
width: 150,
|
|
43
43
|
}
|