@bifold/core 2.3.0 → 2.4.1
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 +5 -3
- 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/services/logger.js +27 -35
- package/lib/commonjs/services/logger.js.map +1 -1
- package/lib/commonjs/theme-builder.js +140 -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 +5 -3
- 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/services/logger.js +27 -35
- package/lib/module/services/logger.js.map +1 -1
- package/lib/module/theme-builder.js +133 -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 +5 -4
- 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/services/logger.d.ts +8 -7
- package/lib/typescript/src/services/logger.d.ts.map +1 -1
- package/lib/typescript/src/theme-builder.d.ts +68 -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 +5 -3
- 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 +3 -3
- 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/services/logger.ts +35 -14
- package/src/theme-builder.ts +157 -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
|
@@ -32,7 +32,7 @@ interface RemoveProps {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
35
|
-
const { TextTheme,
|
|
35
|
+
const { TextTheme, ColorPalette } = useTheme()
|
|
36
36
|
const [isCollapsed, setIsCollapsed] = useState<boolean>(true)
|
|
37
37
|
|
|
38
38
|
return (
|
|
@@ -44,7 +44,7 @@ const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
|
44
44
|
style={[
|
|
45
45
|
{
|
|
46
46
|
padding: 15,
|
|
47
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: ColorPalette.brand.modalSecondaryBackground,
|
|
48
48
|
borderRadius: 5,
|
|
49
49
|
flexDirection: 'row',
|
|
50
50
|
justifyContent: 'space-between',
|
|
@@ -58,7 +58,7 @@ const Dropdown: React.FC<RemoveProps> = ({ title, content }) => {
|
|
|
58
58
|
</TouchableOpacity>
|
|
59
59
|
<Collapsible collapsed={isCollapsed} enablePointerEvents={true}>
|
|
60
60
|
<View
|
|
61
|
-
style={{ marginTop: 10, borderLeftWidth: 2, borderLeftColor:
|
|
61
|
+
style={{ marginTop: 10, borderLeftWidth: 2, borderLeftColor: ColorPalette.brand.modalSecondaryBackground }}
|
|
62
62
|
>
|
|
63
63
|
<UnorderedList unorderedListItems={content} />
|
|
64
64
|
</View>
|
|
@@ -73,7 +73,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
const { t } = useTranslation()
|
|
76
|
-
const {
|
|
76
|
+
const { ColorPalette, TextTheme, Assets } = useTheme()
|
|
77
77
|
|
|
78
78
|
const imageDisplayOptions = {
|
|
79
79
|
height: 115,
|
|
@@ -82,7 +82,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
82
82
|
|
|
83
83
|
const styles = StyleSheet.create({
|
|
84
84
|
safeAreaView: {
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
86
86
|
borderTopRightRadius: 10,
|
|
87
87
|
borderTopLeftRadius: 10,
|
|
88
88
|
},
|
|
@@ -296,7 +296,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
296
296
|
onPress={() => onCancel && onCancel()}
|
|
297
297
|
hitSlop={hitSlop}
|
|
298
298
|
>
|
|
299
|
-
<Icon name={'close'} size={42} color={
|
|
299
|
+
<Icon name={'close'} size={42} color={ColorPalette.brand.modalIcon} />
|
|
300
300
|
</TouchableOpacity>
|
|
301
301
|
</View>
|
|
302
302
|
<ScrollView style={styles.container}>
|
|
@@ -306,7 +306,7 @@ const CommonRemoveModal: React.FC<CommonRemoveModalProps> = ({ usage, visible, o
|
|
|
306
306
|
</>
|
|
307
307
|
</ScrollView>
|
|
308
308
|
<View style={styles.controlsContainer}>
|
|
309
|
-
<ContentGradient backgroundColor={
|
|
309
|
+
<ContentGradient backgroundColor={ColorPalette.brand.modalPrimaryBackground} height={30} />
|
|
310
310
|
<View style={{ paddingTop: 10 }}>
|
|
311
311
|
<Button
|
|
312
312
|
title={titleForConfirmButton()}
|
|
@@ -35,7 +35,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
35
35
|
}) => {
|
|
36
36
|
const { height, width, fontScale } = useWindowDimensions()
|
|
37
37
|
const { t } = useTranslation()
|
|
38
|
-
const {
|
|
38
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
39
39
|
const iconSize = 30
|
|
40
40
|
|
|
41
41
|
const styles = StyleSheet.create({
|
|
@@ -43,14 +43,14 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
43
43
|
flex: 1,
|
|
44
44
|
justifyContent: 'center',
|
|
45
45
|
alignItems: 'center',
|
|
46
|
-
backgroundColor:
|
|
46
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
47
47
|
padding: 20,
|
|
48
48
|
minHeight: height,
|
|
49
49
|
minWidth: width,
|
|
50
50
|
},
|
|
51
51
|
container: {
|
|
52
|
-
backgroundColor:
|
|
53
|
-
borderColor:
|
|
52
|
+
backgroundColor: ColorPalette.notification.info,
|
|
53
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
54
54
|
borderRadius: 5,
|
|
55
55
|
borderWidth: 1,
|
|
56
56
|
padding: 10,
|
|
@@ -78,7 +78,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
78
78
|
headerText: {
|
|
79
79
|
...TextTheme.bold,
|
|
80
80
|
alignSelf: 'flex-start',
|
|
81
|
-
color:
|
|
81
|
+
color: ColorPalette.notification.infoText,
|
|
82
82
|
},
|
|
83
83
|
scrollViewContentContainer: {
|
|
84
84
|
flexGrow: 1,
|
|
@@ -89,7 +89,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
89
89
|
bodyText: {
|
|
90
90
|
...TextTheme.normal,
|
|
91
91
|
paddingVertical: 16,
|
|
92
|
-
color:
|
|
92
|
+
color: ColorPalette.notification.infoText,
|
|
93
93
|
},
|
|
94
94
|
footer: {
|
|
95
95
|
paddingTop: 10,
|
|
@@ -105,7 +105,7 @@ const DismissiblePopupModal: React.FC<DismissiblePopupModalProps> = ({
|
|
|
105
105
|
|
|
106
106
|
const infoIconName = 'info'
|
|
107
107
|
const dismissIconName = 'clear'
|
|
108
|
-
const iconColor =
|
|
108
|
+
const iconColor = ColorPalette.notification.infoIcon
|
|
109
109
|
|
|
110
110
|
return (
|
|
111
111
|
<SafeAreaModal transparent>
|
|
@@ -22,14 +22,14 @@ const ErrorModal: React.FC<ErrorModalProps> = ({ enableReport }) => {
|
|
|
22
22
|
const [error, setError] = useState<BifoldError>()
|
|
23
23
|
const [reported, setReported] = useState(false)
|
|
24
24
|
const [logger] = useServices([TOKENS.UTIL_LOGGER])
|
|
25
|
-
const {
|
|
25
|
+
const { ColorPalette } = useTheme()
|
|
26
26
|
const styles = StyleSheet.create({
|
|
27
27
|
container: {
|
|
28
28
|
minHeight: height,
|
|
29
29
|
flexDirection: 'column',
|
|
30
30
|
justifyContent: 'center',
|
|
31
31
|
alignItems: 'center',
|
|
32
|
-
backgroundColor:
|
|
32
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
33
33
|
},
|
|
34
34
|
})
|
|
35
35
|
|
|
@@ -78,9 +78,9 @@ const ErrorModal: React.FC<ErrorModalProps> = ({ enableReport }) => {
|
|
|
78
78
|
const secondaryCallToActionIcon = useMemo(
|
|
79
79
|
() =>
|
|
80
80
|
reported ? (
|
|
81
|
-
<Icon style={{ marginRight: 8 }} name={'check-circle'} size={18} color={
|
|
81
|
+
<Icon style={{ marginRight: 8 }} name={'check-circle'} size={18} color={ColorPalette.semantic.success} />
|
|
82
82
|
) : undefined,
|
|
83
|
-
[reported,
|
|
83
|
+
[reported, ColorPalette.semantic.success]
|
|
84
84
|
)
|
|
85
85
|
|
|
86
86
|
return (
|
|
@@ -17,14 +17,14 @@ interface ImageModalProps {
|
|
|
17
17
|
const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
18
18
|
const { height, width } = useWindowDimensions()
|
|
19
19
|
const { t } = useTranslation()
|
|
20
|
-
const {
|
|
20
|
+
const { ColorPalette } = useTheme()
|
|
21
21
|
|
|
22
22
|
const styles = StyleSheet.create({
|
|
23
23
|
modalCenter: {
|
|
24
24
|
flex: 1,
|
|
25
25
|
justifyContent: 'center',
|
|
26
26
|
alignItems: 'center',
|
|
27
|
-
backgroundColor:
|
|
27
|
+
backgroundColor: ColorPalette.notification.popupOverlay,
|
|
28
28
|
minHeight: height,
|
|
29
29
|
minWidth: width,
|
|
30
30
|
paddingHorizontal: 20,
|
|
@@ -32,7 +32,7 @@ const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
|
32
32
|
},
|
|
33
33
|
container: {
|
|
34
34
|
flexShrink: 1,
|
|
35
|
-
backgroundColor:
|
|
35
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
36
36
|
},
|
|
37
37
|
image: {
|
|
38
38
|
width: width - 40,
|
|
@@ -49,7 +49,7 @@ const ImageModal: React.FC<ImageModalProps> = ({ uri, onDismissPressed }) => {
|
|
|
49
49
|
|
|
50
50
|
const iconSize = 30
|
|
51
51
|
const dismissIconName = 'clear'
|
|
52
|
-
const iconColor =
|
|
52
|
+
const iconColor = ColorPalette.brand.primary
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
55
|
<SafeAreaModal transparent>
|
|
@@ -25,13 +25,13 @@ const PopupModal: React.FC<PopupModalProps> = ({
|
|
|
25
25
|
notificationType,
|
|
26
26
|
onCallToActionLabel,
|
|
27
27
|
}) => {
|
|
28
|
-
const {
|
|
28
|
+
const { ColorPalette } = useTheme()
|
|
29
29
|
const styles = StyleSheet.create({
|
|
30
30
|
modalCenter: {
|
|
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
|
})
|
|
@@ -17,11 +17,11 @@ interface ProofCancelModalProps {
|
|
|
17
17
|
|
|
18
18
|
const ProofCancelModal: React.FC<ProofCancelModalProps> = ({ visible, onDone }) => {
|
|
19
19
|
const { t } = useTranslation()
|
|
20
|
-
const {
|
|
20
|
+
const { ColorPalette, Assets } = useTheme()
|
|
21
21
|
|
|
22
22
|
const styles = StyleSheet.create({
|
|
23
23
|
safeAreaView: {
|
|
24
|
-
backgroundColor:
|
|
24
|
+
backgroundColor: ColorPalette.brand.modalPrimaryBackground,
|
|
25
25
|
flex: 1,
|
|
26
26
|
},
|
|
27
27
|
container: {
|
|
@@ -4,10 +4,10 @@ import { StyleSheet, View } from 'react-native'
|
|
|
4
4
|
import { useTheme } from '../../contexts/theme'
|
|
5
5
|
|
|
6
6
|
const RecordFooter: React.FC<React.PropsWithChildren> = ({ children }) => {
|
|
7
|
-
const {
|
|
7
|
+
const { ColorPalette } = useTheme()
|
|
8
8
|
const styles = StyleSheet.create({
|
|
9
9
|
container: {
|
|
10
|
-
backgroundColor:
|
|
10
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
11
11
|
height: '100%',
|
|
12
12
|
},
|
|
13
13
|
})
|
|
@@ -4,10 +4,10 @@ import { StyleSheet, View } from 'react-native'
|
|
|
4
4
|
import { useTheme } from '../../contexts/theme'
|
|
5
5
|
|
|
6
6
|
const RecordHeader: React.FC<React.PropsWithChildren> = ({ children }) => {
|
|
7
|
-
const {
|
|
7
|
+
const { ColorPalette } = useTheme()
|
|
8
8
|
const styles = StyleSheet.create({
|
|
9
9
|
container: {
|
|
10
|
-
backgroundColor:
|
|
10
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
11
11
|
},
|
|
12
12
|
})
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ interface RecordRemoveProps {
|
|
|
15
15
|
|
|
16
16
|
const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) => {
|
|
17
17
|
const { t } = useTranslation()
|
|
18
|
-
const { TextTheme,
|
|
18
|
+
const { TextTheme, ColorPalette, Assets } = useTheme()
|
|
19
19
|
const [bundleResolver] = useServices([TOKENS.UTIL_OCA_RESOLVER])
|
|
20
20
|
|
|
21
21
|
const styles = StyleSheet.create({
|
|
@@ -23,7 +23,7 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
23
23
|
...TextTheme.normal,
|
|
24
24
|
},
|
|
25
25
|
footerText: {
|
|
26
|
-
color:
|
|
26
|
+
color: ColorPalette.brand.link,
|
|
27
27
|
},
|
|
28
28
|
linkContainer: {
|
|
29
29
|
minHeight: TextTheme.normal.fontSize,
|
|
@@ -39,7 +39,7 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
39
39
|
return (
|
|
40
40
|
<View
|
|
41
41
|
style={{
|
|
42
|
-
backgroundColor:
|
|
42
|
+
backgroundColor: ColorPalette.brand.secondaryBackground,
|
|
43
43
|
marginTop: 16,
|
|
44
44
|
paddingHorizontal: bundleResolver.getBrandingOverlayType() === BrandingOverlayType.Branding10 ? 25 : 16,
|
|
45
45
|
paddingVertical: 16,
|
|
@@ -54,8 +54,8 @@ const RecordRemove: React.FC<RecordRemoveProps> = ({ onRemove = () => null }) =>
|
|
|
54
54
|
activeOpacity={1}
|
|
55
55
|
onPress={onRemove}
|
|
56
56
|
>
|
|
57
|
-
<Assets.svg.iconDelete width={20} height={20} color={
|
|
58
|
-
<ThemedText style={[styles.footerText, { color:
|
|
57
|
+
<Assets.svg.iconDelete width={20} height={20} color={ColorPalette.semantic.error} />
|
|
58
|
+
<ThemedText style={[styles.footerText, { color: ColorPalette.semantic.error }]}>
|
|
59
59
|
{t('CredentialDetails.RemoveFromWallet')}
|
|
60
60
|
</ThemedText>
|
|
61
61
|
</TouchableOpacity>
|
|
@@ -11,18 +11,18 @@ export interface TextBoxProps {
|
|
|
11
11
|
const offset = 10
|
|
12
12
|
|
|
13
13
|
const HighlightTextBox: React.FC<TextBoxProps> = ({ children }) => {
|
|
14
|
-
const {
|
|
14
|
+
const { ColorPalette, OnboardingTheme } = useTheme()
|
|
15
15
|
const style = StyleSheet.create({
|
|
16
16
|
icon: {
|
|
17
17
|
marginRight: offset,
|
|
18
18
|
},
|
|
19
19
|
container: {
|
|
20
20
|
flexDirection: 'row',
|
|
21
|
-
backgroundColor:
|
|
21
|
+
backgroundColor: ColorPalette.brand.primaryBackground,
|
|
22
22
|
},
|
|
23
23
|
accentBox: {
|
|
24
24
|
marginRight: offset,
|
|
25
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: ColorPalette.brand.highlight,
|
|
26
26
|
width: 8,
|
|
27
27
|
},
|
|
28
28
|
headerText: {
|
|
@@ -26,14 +26,14 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
26
26
|
style = {},
|
|
27
27
|
textStyle = {},
|
|
28
28
|
}) => {
|
|
29
|
-
const {
|
|
29
|
+
const { ColorPalette } = useTheme()
|
|
30
30
|
const styles = StyleSheet.create({
|
|
31
31
|
container: {
|
|
32
32
|
padding: 10,
|
|
33
33
|
borderRadius: 5,
|
|
34
34
|
borderWidth: 1,
|
|
35
|
-
backgroundColor:
|
|
36
|
-
borderColor:
|
|
35
|
+
backgroundColor: ColorPalette.notification.info,
|
|
36
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
37
37
|
...style,
|
|
38
38
|
},
|
|
39
39
|
row: {
|
|
@@ -45,7 +45,7 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
45
45
|
alignSelf: 'center',
|
|
46
46
|
flex: 1,
|
|
47
47
|
flexWrap: 'wrap',
|
|
48
|
-
color:
|
|
48
|
+
color: ColorPalette.notification.infoText,
|
|
49
49
|
...textStyle,
|
|
50
50
|
},
|
|
51
51
|
iconContainer: {
|
|
@@ -56,7 +56,7 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
56
56
|
})
|
|
57
57
|
|
|
58
58
|
let iconName = 'info'
|
|
59
|
-
let iconColor =
|
|
59
|
+
let iconColor = ColorPalette.notification.infoIcon
|
|
60
60
|
|
|
61
61
|
switch (type) {
|
|
62
62
|
case InfoBoxType.Info:
|
|
@@ -64,43 +64,43 @@ const InfoTextBox: React.FC<TextBoxProps> = ({
|
|
|
64
64
|
|
|
65
65
|
case InfoBoxType.Success:
|
|
66
66
|
iconName = 'check-circle'
|
|
67
|
-
iconColor =
|
|
67
|
+
iconColor = ColorPalette.notification.successIcon
|
|
68
68
|
styles.container = {
|
|
69
69
|
...styles.container,
|
|
70
|
-
backgroundColor:
|
|
71
|
-
borderColor:
|
|
70
|
+
backgroundColor: ColorPalette.notification.success,
|
|
71
|
+
borderColor: ColorPalette.notification.successBorder,
|
|
72
72
|
}
|
|
73
73
|
styles.text = {
|
|
74
74
|
...styles.text,
|
|
75
|
-
color:
|
|
75
|
+
color: ColorPalette.notification.successText,
|
|
76
76
|
}
|
|
77
77
|
break
|
|
78
78
|
|
|
79
79
|
case InfoBoxType.Warn:
|
|
80
80
|
iconName = 'warning'
|
|
81
|
-
iconColor =
|
|
81
|
+
iconColor = ColorPalette.notification.warnIcon
|
|
82
82
|
styles.container = {
|
|
83
83
|
...styles.container,
|
|
84
|
-
backgroundColor:
|
|
85
|
-
borderColor:
|
|
84
|
+
backgroundColor: ColorPalette.notification.warn,
|
|
85
|
+
borderColor: ColorPalette.notification.warnBorder,
|
|
86
86
|
}
|
|
87
87
|
styles.text = {
|
|
88
88
|
...styles.text,
|
|
89
|
-
color:
|
|
89
|
+
color: ColorPalette.notification.warnText,
|
|
90
90
|
}
|
|
91
91
|
break
|
|
92
92
|
|
|
93
93
|
case InfoBoxType.Error:
|
|
94
94
|
iconName = 'error'
|
|
95
|
-
iconColor =
|
|
95
|
+
iconColor = ColorPalette.notification.errorIcon
|
|
96
96
|
styles.container = {
|
|
97
97
|
...styles.container,
|
|
98
|
-
backgroundColor:
|
|
99
|
-
borderColor:
|
|
98
|
+
backgroundColor: ColorPalette.notification.error,
|
|
99
|
+
borderColor: ColorPalette.notification.errorBorder,
|
|
100
100
|
}
|
|
101
101
|
styles.text = {
|
|
102
102
|
...styles.text,
|
|
103
|
-
color:
|
|
103
|
+
color: ColorPalette.notification.errorText,
|
|
104
104
|
}
|
|
105
105
|
break
|
|
106
106
|
|
|
@@ -14,10 +14,10 @@ interface LinkProps {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const Link: React.FC<LinkProps> = ({ linkText, onPress, style = {}, testID, ...textProps }) => {
|
|
17
|
-
const {
|
|
17
|
+
const { ColorPalette } = useTheme()
|
|
18
18
|
const styles = StyleSheet.create({
|
|
19
19
|
link: {
|
|
20
|
-
color:
|
|
20
|
+
color: ColorPalette.brand.link,
|
|
21
21
|
textDecorationLine: 'underline',
|
|
22
22
|
alignSelf: 'flex-start',
|
|
23
23
|
},
|
|
@@ -25,7 +25,7 @@ export enum ToastType {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const BaseToast: React.FC<BaseToastProps> = ({ title, body, toastType, onPress = () => null }) => {
|
|
28
|
-
const { TextTheme, borderRadius, borderWidth,
|
|
28
|
+
const { TextTheme, borderRadius, borderWidth, ColorPalette } = useTheme()
|
|
29
29
|
const { width } = useWindowDimensions()
|
|
30
30
|
const iconSize = 24
|
|
31
31
|
let iconName = ''
|
|
@@ -61,34 +61,34 @@ const BaseToast: React.FC<BaseToastProps> = ({ title, body, toastType, onPress =
|
|
|
61
61
|
switch (toastType) {
|
|
62
62
|
case ToastType.Success:
|
|
63
63
|
iconName = 'check-circle'
|
|
64
|
-
backgroundColor =
|
|
65
|
-
borderColor =
|
|
66
|
-
iconColor =
|
|
67
|
-
textColor =
|
|
64
|
+
backgroundColor = ColorPalette.notification.success
|
|
65
|
+
borderColor = ColorPalette.notification.successBorder
|
|
66
|
+
iconColor = ColorPalette.notification.successIcon
|
|
67
|
+
textColor = ColorPalette.notification.successText
|
|
68
68
|
break
|
|
69
69
|
|
|
70
70
|
case ToastType.Info:
|
|
71
71
|
iconName = 'info'
|
|
72
|
-
backgroundColor =
|
|
73
|
-
borderColor =
|
|
74
|
-
iconColor =
|
|
75
|
-
textColor =
|
|
72
|
+
backgroundColor = ColorPalette.notification.info
|
|
73
|
+
borderColor = ColorPalette.notification.infoBorder
|
|
74
|
+
iconColor = ColorPalette.notification.infoIcon
|
|
75
|
+
textColor = ColorPalette.notification.infoText
|
|
76
76
|
break
|
|
77
77
|
|
|
78
78
|
case ToastType.Warn:
|
|
79
79
|
iconName = 'report-problem'
|
|
80
|
-
backgroundColor =
|
|
81
|
-
borderColor =
|
|
82
|
-
iconColor =
|
|
83
|
-
textColor =
|
|
80
|
+
backgroundColor = ColorPalette.notification.warn
|
|
81
|
+
borderColor = ColorPalette.notification.warnBorder
|
|
82
|
+
iconColor = ColorPalette.notification.warnIcon
|
|
83
|
+
textColor = ColorPalette.notification.warnText
|
|
84
84
|
break
|
|
85
85
|
|
|
86
86
|
case ToastType.Error:
|
|
87
87
|
iconName = 'error'
|
|
88
|
-
backgroundColor =
|
|
89
|
-
borderColor =
|
|
90
|
-
iconColor =
|
|
91
|
-
textColor =
|
|
88
|
+
backgroundColor = ColorPalette.notification.error
|
|
89
|
+
borderColor = ColorPalette.notification.errorBorder
|
|
90
|
+
iconColor = ColorPalette.notification.errorIcon
|
|
91
|
+
textColor = ColorPalette.notification.errorText
|
|
92
92
|
break
|
|
93
93
|
|
|
94
94
|
default:
|
|
@@ -12,7 +12,7 @@ export const credentialOfferTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.CredentialOffers')}
|
|
@@ -28,7 +28,7 @@ export const credentialOfferTourSteps: TourStep[] = [
|
|
|
28
28
|
<Text
|
|
29
29
|
style={{
|
|
30
30
|
...TextTheme.normal,
|
|
31
|
-
color:
|
|
31
|
+
color: ColorPalette.notification.infoText,
|
|
32
32
|
}}
|
|
33
33
|
allowFontScaling={false}
|
|
34
34
|
>
|
|
@@ -12,7 +12,7 @@ export const credentialsTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.AddCredentials')}
|
|
@@ -28,7 +28,7 @@ export const credentialsTourSteps: TourStep[] = [
|
|
|
28
28
|
<Text
|
|
29
29
|
style={{
|
|
30
30
|
...TextTheme.normal,
|
|
31
|
-
color:
|
|
31
|
+
color: ColorPalette.notification.infoText,
|
|
32
32
|
}}
|
|
33
33
|
allowFontScaling={false}
|
|
34
34
|
>
|
|
@@ -12,7 +12,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.AddAndShare')}
|
|
@@ -29,7 +29,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
29
29
|
<Text
|
|
30
30
|
style={{
|
|
31
31
|
...TextTheme.normal,
|
|
32
|
-
color:
|
|
32
|
+
color: ColorPalette.notification.infoText,
|
|
33
33
|
}}
|
|
34
34
|
allowFontScaling={false}
|
|
35
35
|
>
|
|
@@ -43,7 +43,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
43
43
|
Render: (props: RenderProps) => {
|
|
44
44
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
45
45
|
const { t } = useTranslation()
|
|
46
|
-
const {
|
|
46
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
47
47
|
return (
|
|
48
48
|
<TourBox
|
|
49
49
|
title={t('Tour.Notifications')}
|
|
@@ -60,7 +60,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
60
60
|
<Text
|
|
61
61
|
style={{
|
|
62
62
|
...TextTheme.normal,
|
|
63
|
-
color:
|
|
63
|
+
color: ColorPalette.notification.infoText,
|
|
64
64
|
}}
|
|
65
65
|
allowFontScaling={false}
|
|
66
66
|
>
|
|
@@ -74,7 +74,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
74
74
|
Render: (props: RenderProps) => {
|
|
75
75
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
76
76
|
const { t } = useTranslation()
|
|
77
|
-
const {
|
|
77
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
78
78
|
return (
|
|
79
79
|
<TourBox
|
|
80
80
|
title={t('Tour.YourCredentials')}
|
|
@@ -91,7 +91,7 @@ export const homeTourSteps: TourStep[] = [
|
|
|
91
91
|
<Text
|
|
92
92
|
style={{
|
|
93
93
|
...TextTheme.normal,
|
|
94
|
-
color:
|
|
94
|
+
color: ColorPalette.notification.infoText,
|
|
95
95
|
}}
|
|
96
96
|
allowFontScaling={false}
|
|
97
97
|
>
|
|
@@ -12,7 +12,7 @@ export const proofRequestTourSteps: TourStep[] = [
|
|
|
12
12
|
Render: (props: RenderProps) => {
|
|
13
13
|
const { currentTour, currentStep, next, stop, previous } = props
|
|
14
14
|
const { t } = useTranslation()
|
|
15
|
-
const {
|
|
15
|
+
const { ColorPalette, TextTheme } = useTheme()
|
|
16
16
|
return (
|
|
17
17
|
<TourBox
|
|
18
18
|
title={t('Tour.ProofRequests')}
|
|
@@ -28,7 +28,7 @@ export const proofRequestTourSteps: TourStep[] = [
|
|
|
28
28
|
<Text
|
|
29
29
|
style={{
|
|
30
30
|
...TextTheme.normal,
|
|
31
|
-
color:
|
|
31
|
+
color: ColorPalette.notification.infoText,
|
|
32
32
|
}}
|
|
33
33
|
allowFontScaling={false}
|
|
34
34
|
>
|
|
@@ -73,18 +73,18 @@ export function TourBox(props: TourBoxProps): ReactElement {
|
|
|
73
73
|
stepOn,
|
|
74
74
|
stepsOutOf,
|
|
75
75
|
} = props
|
|
76
|
-
const { TextTheme,
|
|
76
|
+
const { TextTheme, ColorPalette, OnboardingTheme } = useTheme()
|
|
77
77
|
const iconSize = 30
|
|
78
78
|
const dismissIconName = 'clear'
|
|
79
|
-
const iconColor =
|
|
79
|
+
const iconColor = ColorPalette.notification.infoIcon
|
|
80
80
|
const [paginationDots, setPaginationDots] = useState<PaginationDotTypes[]>([])
|
|
81
81
|
const [xPos, setXPos] = useState(0)
|
|
82
82
|
const swipeThreshold = 75
|
|
83
83
|
|
|
84
84
|
const styles = StyleSheet.create({
|
|
85
85
|
container: {
|
|
86
|
-
backgroundColor:
|
|
87
|
-
borderColor:
|
|
86
|
+
backgroundColor: ColorPalette.notification.info,
|
|
87
|
+
borderColor: ColorPalette.notification.infoBorder,
|
|
88
88
|
borderRadius: 5,
|
|
89
89
|
borderWidth: 1,
|
|
90
90
|
padding: 20,
|
|
@@ -101,7 +101,7 @@ export function TourBox(props: TourBoxProps): ReactElement {
|
|
|
101
101
|
headerText: {
|
|
102
102
|
...TextTheme.headingThree,
|
|
103
103
|
alignSelf: 'flex-start',
|
|
104
|
-
color:
|
|
104
|
+
color: ColorPalette.notification.infoText,
|
|
105
105
|
},
|
|
106
106
|
dismissIcon: {
|
|
107
107
|
alignSelf: 'flex-end',
|
|
@@ -116,7 +116,7 @@ export function TourBox(props: TourBoxProps): ReactElement {
|
|
|
116
116
|
},
|
|
117
117
|
navText: {
|
|
118
118
|
...TextTheme.bold,
|
|
119
|
-
color:
|
|
119
|
+
color: ColorPalette.brand.primary,
|
|
120
120
|
},
|
|
121
121
|
pagerContainer: {
|
|
122
122
|
flexDirection: 'row',
|