@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.
Files changed (596) hide show
  1. package/lib/commonjs/App.js +1 -1
  2. package/lib/commonjs/App.js.map +1 -1
  3. package/lib/commonjs/components/animated/ButtonLoading.js +2 -2
  4. package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -1
  5. package/lib/commonjs/components/animated/ConnectionLoading.js +3 -3
  6. package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -1
  7. package/lib/commonjs/components/animated/LoadingIndicator.js +2 -2
  8. package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -1
  9. package/lib/commonjs/components/animated/PresentationLoading.js +3 -3
  10. package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -1
  11. package/lib/commonjs/components/animated/RecordLoading.js +5 -5
  12. package/lib/commonjs/components/animated/RecordLoading.js.map +1 -1
  13. package/lib/commonjs/components/animated/SendingProof.js +3 -3
  14. package/lib/commonjs/components/animated/SendingProof.js.map +1 -1
  15. package/lib/commonjs/components/animated/SentProof.js +3 -3
  16. package/lib/commonjs/components/animated/SentProof.js.map +1 -1
  17. package/lib/commonjs/components/buttons/Button.js +1 -1
  18. package/lib/commonjs/components/buttons/Button.js.map +1 -1
  19. package/lib/commonjs/components/buttons/IconButton.js +3 -3
  20. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  21. package/lib/commonjs/components/buttons/ToggleButton.js +3 -3
  22. package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -1
  23. package/lib/commonjs/components/chat/ActionSlider.js +3 -3
  24. package/lib/commonjs/components/chat/ActionSlider.js.map +1 -1
  25. package/lib/commonjs/components/forms/WalletNameForm.js +2 -2
  26. package/lib/commonjs/components/forms/WalletNameForm.js.map +1 -1
  27. package/lib/commonjs/components/inputs/BiometryControl.js +2 -2
  28. package/lib/commonjs/components/inputs/BiometryControl.js.map +1 -1
  29. package/lib/commonjs/components/inputs/BulletPoint.js +2 -2
  30. package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -1
  31. package/lib/commonjs/components/listItems/ContactCredentialListItem.js +3 -3
  32. package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -1
  33. package/lib/commonjs/components/listItems/ContactListItem.js +2 -2
  34. package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -1
  35. package/lib/commonjs/components/listItems/NotificationListItem.js +22 -22
  36. package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -1
  37. package/lib/commonjs/components/misc/ConnectionAlert.js +5 -5
  38. package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -1
  39. package/lib/commonjs/components/misc/ConnectionImage.js +3 -3
  40. package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -1
  41. package/lib/commonjs/components/misc/CredentialCard.js +2 -2
  42. package/lib/commonjs/components/misc/CredentialCard.js.map +1 -1
  43. package/lib/commonjs/components/misc/CredentialCard10.js +6 -6
  44. package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -1
  45. package/lib/commonjs/components/misc/CredentialCard11.js +12 -12
  46. package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -1
  47. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +3 -3
  48. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  49. package/lib/commonjs/components/misc/EmptyList.js +2 -2
  50. package/lib/commonjs/components/misc/EmptyList.js.map +1 -1
  51. package/lib/commonjs/components/misc/EmptyListContacts.js +2 -2
  52. package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -1
  53. package/lib/commonjs/components/misc/FauxHeader.js +2 -2
  54. package/lib/commonjs/components/misc/FauxHeader.js.map +1 -1
  55. package/lib/commonjs/components/misc/InfoBox.js +29 -29
  56. package/lib/commonjs/components/misc/InfoBox.js.map +1 -1
  57. package/lib/commonjs/components/misc/NoNewUpdates.js +2 -2
  58. package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -1
  59. package/lib/commonjs/components/misc/PINValidationHelper.js +3 -3
  60. package/lib/commonjs/components/misc/PINValidationHelper.js.map +1 -1
  61. package/lib/commonjs/components/misc/QRRenderer.js +2 -2
  62. package/lib/commonjs/components/misc/QRRenderer.js.map +1 -1
  63. package/lib/commonjs/components/misc/QRScanner.js +3 -3
  64. package/lib/commonjs/components/misc/QRScanner.js.map +1 -1
  65. package/lib/commonjs/components/misc/QRScannerTorch.js +4 -4
  66. package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -1
  67. package/lib/commonjs/components/misc/SharedProofData.js +2 -2
  68. package/lib/commonjs/components/misc/SharedProofData.js.map +1 -1
  69. package/lib/commonjs/components/misc/UnorderedList.js +3 -3
  70. package/lib/commonjs/components/misc/UnorderedList.js.map +1 -1
  71. package/lib/commonjs/components/misc/VerifierCredentialCard.js +7 -7
  72. package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -1
  73. package/lib/commonjs/components/modals/AppGuideModal.js +7 -7
  74. package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -1
  75. package/lib/commonjs/components/modals/CameraDisclosureModal.js +4 -4
  76. package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -1
  77. package/lib/commonjs/components/modals/CommonRemoveModal.js +7 -7
  78. package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -1
  79. package/lib/commonjs/components/modals/DismissiblePopupModal.js +7 -7
  80. package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -1
  81. package/lib/commonjs/components/modals/ErrorModal.js +4 -4
  82. package/lib/commonjs/components/modals/ErrorModal.js.map +1 -1
  83. package/lib/commonjs/components/modals/ImageModal.js +4 -4
  84. package/lib/commonjs/components/modals/ImageModal.js.map +1 -1
  85. package/lib/commonjs/components/modals/PopupModal.js +2 -2
  86. package/lib/commonjs/components/modals/PopupModal.js.map +1 -1
  87. package/lib/commonjs/components/modals/ProofCancelModal.js +2 -2
  88. package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -1
  89. package/lib/commonjs/components/record/RecordFooter.js +2 -2
  90. package/lib/commonjs/components/record/RecordFooter.js.map +1 -1
  91. package/lib/commonjs/components/record/RecordHeader.js +2 -2
  92. package/lib/commonjs/components/record/RecordHeader.js.map +1 -1
  93. package/lib/commonjs/components/record/RecordRemove.js +5 -5
  94. package/lib/commonjs/components/record/RecordRemove.js.map +1 -1
  95. package/lib/commonjs/components/texts/HighlightTextBox.js +3 -3
  96. package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -1
  97. package/lib/commonjs/components/texts/InfoTextBox.js +17 -17
  98. package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -1
  99. package/lib/commonjs/components/texts/Link.js +2 -2
  100. package/lib/commonjs/components/texts/Link.js.map +1 -1
  101. package/lib/commonjs/components/toast/BaseToast.js +17 -17
  102. package/lib/commonjs/components/toast/BaseToast.js.map +1 -1
  103. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +2 -2
  104. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -1
  105. package/lib/commonjs/components/tour/CredentialsTourSteps.js +2 -2
  106. package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -1
  107. package/lib/commonjs/components/tour/HomeTourSteps.js +6 -6
  108. package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -1
  109. package/lib/commonjs/components/tour/ProofRequestTourSteps.js +2 -2
  110. package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -1
  111. package/lib/commonjs/components/tour/TourBox.js +6 -6
  112. package/lib/commonjs/components/tour/TourBox.js.map +1 -1
  113. package/lib/commonjs/components/views/Banner.js +19 -9
  114. package/lib/commonjs/components/views/Banner.js.map +1 -1
  115. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +3 -3
  116. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  117. package/lib/commonjs/components/views/KeyboardView.js +2 -2
  118. package/lib/commonjs/components/views/KeyboardView.js.map +1 -1
  119. package/lib/commonjs/components/views/ProgressBar.js +3 -3
  120. package/lib/commonjs/components/views/ProgressBar.js.map +1 -1
  121. package/lib/commonjs/contexts/reducers/store.js +2 -1
  122. package/lib/commonjs/contexts/reducers/store.js.map +1 -1
  123. package/lib/commonjs/hooks/chat-messages.js +3 -3
  124. package/lib/commonjs/hooks/chat-messages.js.map +1 -1
  125. package/lib/commonjs/hooks/credential-card-styles.js +4 -4
  126. package/lib/commonjs/hooks/credential-card-styles.js.map +1 -1
  127. package/lib/commonjs/index.js +11 -3
  128. package/lib/commonjs/index.js.map +1 -1
  129. package/lib/commonjs/modules/history/ui/HistoryPage.js +2 -2
  130. package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -1
  131. package/lib/commonjs/modules/history/ui/HistorySettings.js +2 -2
  132. package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -1
  133. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +2 -2
  134. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -1
  135. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +5 -5
  136. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  137. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  138. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  139. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  140. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  141. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
  142. package/lib/commonjs/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  143. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  144. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  145. package/lib/commonjs/navigators/TabStack.js +2 -2
  146. package/lib/commonjs/navigators/TabStack.js.map +1 -1
  147. package/lib/commonjs/navigators/defaultStackOptions.js +3 -3
  148. package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -1
  149. package/lib/commonjs/screens/AttemptLockout.js +2 -2
  150. package/lib/commonjs/screens/AttemptLockout.js.map +1 -1
  151. package/lib/commonjs/screens/AutoLock.js +7 -7
  152. package/lib/commonjs/screens/AutoLock.js.map +1 -1
  153. package/lib/commonjs/screens/ConfigureMediator.js +7 -7
  154. package/lib/commonjs/screens/ConfigureMediator.js.map +1 -1
  155. package/lib/commonjs/screens/ContactDetails.js +9 -9
  156. package/lib/commonjs/screens/ContactDetails.js.map +1 -1
  157. package/lib/commonjs/screens/CredentialDetails.js +16 -16
  158. package/lib/commonjs/screens/CredentialDetails.js.map +1 -1
  159. package/lib/commonjs/screens/CredentialOffer.js +2 -2
  160. package/lib/commonjs/screens/CredentialOffer.js.map +1 -1
  161. package/lib/commonjs/screens/DataRetention.js +11 -11
  162. package/lib/commonjs/screens/DataRetention.js.map +1 -1
  163. package/lib/commonjs/screens/Developer.js +29 -29
  164. package/lib/commonjs/screens/Developer.js.map +1 -1
  165. package/lib/commonjs/screens/Home.js +2 -2
  166. package/lib/commonjs/screens/Home.js.map +1 -1
  167. package/lib/commonjs/screens/JSONDetails.js +3 -3
  168. package/lib/commonjs/screens/JSONDetails.js.map +1 -1
  169. package/lib/commonjs/screens/Language.js +7 -7
  170. package/lib/commonjs/screens/Language.js.map +1 -1
  171. package/lib/commonjs/screens/ListContacts.js +3 -3
  172. package/lib/commonjs/screens/ListContacts.js.map +1 -1
  173. package/lib/commonjs/screens/ListCredentials.js +2 -2
  174. package/lib/commonjs/screens/ListCredentials.js.map +1 -1
  175. package/lib/commonjs/screens/ListProofRequests.js +2 -2
  176. package/lib/commonjs/screens/ListProofRequests.js.map +1 -1
  177. package/lib/commonjs/screens/MobileVerifierLoading.js +3 -3
  178. package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -1
  179. package/lib/commonjs/screens/PINChange.js +2 -2
  180. package/lib/commonjs/screens/PINChange.js.map +1 -1
  181. package/lib/commonjs/screens/PINCreate.js +2 -2
  182. package/lib/commonjs/screens/PINCreate.js.map +1 -1
  183. package/lib/commonjs/screens/PINEnter.js +3 -3
  184. package/lib/commonjs/screens/PINEnter.js.map +1 -1
  185. package/lib/commonjs/screens/PINExplainer.js +3 -3
  186. package/lib/commonjs/screens/PINExplainer.js.map +1 -1
  187. package/lib/commonjs/screens/PINVerify.js +2 -2
  188. package/lib/commonjs/screens/PINVerify.js.map +1 -1
  189. package/lib/commonjs/screens/PasteUrl.js +4 -4
  190. package/lib/commonjs/screens/PasteUrl.js.map +1 -1
  191. package/lib/commonjs/screens/ProofChangeCredential.js +2 -2
  192. package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -1
  193. package/lib/commonjs/screens/ProofDetails.js +3 -3
  194. package/lib/commonjs/screens/ProofDetails.js.map +1 -1
  195. package/lib/commonjs/screens/ProofRequest.js +7 -7
  196. package/lib/commonjs/screens/ProofRequest.js.map +1 -1
  197. package/lib/commonjs/screens/ProofRequestAccept.js +3 -3
  198. package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -1
  199. package/lib/commonjs/screens/ProofRequestDetails.js +4 -4
  200. package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -1
  201. package/lib/commonjs/screens/ProofRequestUsageHistory.js +2 -2
  202. package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -1
  203. package/lib/commonjs/screens/ProofRequesting.js +5 -5
  204. package/lib/commonjs/screens/ProofRequesting.js.map +1 -1
  205. package/lib/commonjs/screens/RenameContact.js +2 -2
  206. package/lib/commonjs/screens/RenameContact.js.map +1 -1
  207. package/lib/commonjs/screens/Settings.js +5 -5
  208. package/lib/commonjs/screens/Settings.js.map +1 -1
  209. package/lib/commonjs/screens/Splash.js +2 -2
  210. package/lib/commonjs/screens/Splash.js.map +1 -1
  211. package/lib/commonjs/screens/ToggleBiometry.js +2 -2
  212. package/lib/commonjs/screens/ToggleBiometry.js.map +1 -1
  213. package/lib/commonjs/screens/TogglePushNotifications.js +5 -5
  214. package/lib/commonjs/screens/TogglePushNotifications.js.map +1 -1
  215. package/lib/commonjs/screens/Tours.js +5 -5
  216. package/lib/commonjs/screens/Tours.js.map +1 -1
  217. package/lib/commonjs/screens/UpdateAvailable.js +2 -2
  218. package/lib/commonjs/screens/UpdateAvailable.js.map +1 -1
  219. package/lib/commonjs/screens/WhatAreContacts.js +2 -2
  220. package/lib/commonjs/screens/WhatAreContacts.js.map +1 -1
  221. package/lib/commonjs/theme-builder.js +116 -0
  222. package/lib/commonjs/theme-builder.js.map +1 -0
  223. package/lib/commonjs/theme.interface.js +6 -0
  224. package/lib/commonjs/theme.interface.js.map +1 -0
  225. package/lib/commonjs/theme.js +904 -670
  226. package/lib/commonjs/theme.js.map +1 -1
  227. package/lib/commonjs/utils/credential.js +3 -3
  228. package/lib/commonjs/utils/credential.js.map +1 -1
  229. package/lib/commonjs/utils/mediatorhelpers.js +16 -12
  230. package/lib/commonjs/utils/mediatorhelpers.js.map +1 -1
  231. package/lib/module/App.js +1 -1
  232. package/lib/module/App.js.map +1 -1
  233. package/lib/module/components/animated/ButtonLoading.js +2 -2
  234. package/lib/module/components/animated/ButtonLoading.js.map +1 -1
  235. package/lib/module/components/animated/ConnectionLoading.js +3 -3
  236. package/lib/module/components/animated/ConnectionLoading.js.map +1 -1
  237. package/lib/module/components/animated/LoadingIndicator.js +2 -2
  238. package/lib/module/components/animated/LoadingIndicator.js.map +1 -1
  239. package/lib/module/components/animated/PresentationLoading.js +3 -3
  240. package/lib/module/components/animated/PresentationLoading.js.map +1 -1
  241. package/lib/module/components/animated/RecordLoading.js +5 -5
  242. package/lib/module/components/animated/RecordLoading.js.map +1 -1
  243. package/lib/module/components/animated/SendingProof.js +3 -3
  244. package/lib/module/components/animated/SendingProof.js.map +1 -1
  245. package/lib/module/components/animated/SentProof.js +3 -3
  246. package/lib/module/components/animated/SentProof.js.map +1 -1
  247. package/lib/module/components/buttons/Button.js +1 -1
  248. package/lib/module/components/buttons/Button.js.map +1 -1
  249. package/lib/module/components/buttons/IconButton.js +3 -3
  250. package/lib/module/components/buttons/IconButton.js.map +1 -1
  251. package/lib/module/components/buttons/ToggleButton.js +3 -3
  252. package/lib/module/components/buttons/ToggleButton.js.map +1 -1
  253. package/lib/module/components/chat/ActionSlider.js +3 -3
  254. package/lib/module/components/chat/ActionSlider.js.map +1 -1
  255. package/lib/module/components/forms/WalletNameForm.js +2 -2
  256. package/lib/module/components/forms/WalletNameForm.js.map +1 -1
  257. package/lib/module/components/inputs/BiometryControl.js +2 -2
  258. package/lib/module/components/inputs/BiometryControl.js.map +1 -1
  259. package/lib/module/components/inputs/BulletPoint.js +2 -2
  260. package/lib/module/components/inputs/BulletPoint.js.map +1 -1
  261. package/lib/module/components/listItems/ContactCredentialListItem.js +3 -3
  262. package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -1
  263. package/lib/module/components/listItems/ContactListItem.js +2 -2
  264. package/lib/module/components/listItems/ContactListItem.js.map +1 -1
  265. package/lib/module/components/listItems/NotificationListItem.js +22 -22
  266. package/lib/module/components/listItems/NotificationListItem.js.map +1 -1
  267. package/lib/module/components/misc/ConnectionAlert.js +5 -5
  268. package/lib/module/components/misc/ConnectionAlert.js.map +1 -1
  269. package/lib/module/components/misc/ConnectionImage.js +3 -3
  270. package/lib/module/components/misc/ConnectionImage.js.map +1 -1
  271. package/lib/module/components/misc/CredentialCard.js +2 -2
  272. package/lib/module/components/misc/CredentialCard.js.map +1 -1
  273. package/lib/module/components/misc/CredentialCard10.js +6 -6
  274. package/lib/module/components/misc/CredentialCard10.js.map +1 -1
  275. package/lib/module/components/misc/CredentialCard11.js +12 -12
  276. package/lib/module/components/misc/CredentialCard11.js.map +1 -1
  277. package/lib/module/components/misc/CredentialCard11ActionFooter.js +3 -3
  278. package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -1
  279. package/lib/module/components/misc/EmptyList.js +2 -2
  280. package/lib/module/components/misc/EmptyList.js.map +1 -1
  281. package/lib/module/components/misc/EmptyListContacts.js +2 -2
  282. package/lib/module/components/misc/EmptyListContacts.js.map +1 -1
  283. package/lib/module/components/misc/FauxHeader.js +2 -2
  284. package/lib/module/components/misc/FauxHeader.js.map +1 -1
  285. package/lib/module/components/misc/InfoBox.js +29 -29
  286. package/lib/module/components/misc/InfoBox.js.map +1 -1
  287. package/lib/module/components/misc/NoNewUpdates.js +2 -2
  288. package/lib/module/components/misc/NoNewUpdates.js.map +1 -1
  289. package/lib/module/components/misc/PINValidationHelper.js +3 -3
  290. package/lib/module/components/misc/PINValidationHelper.js.map +1 -1
  291. package/lib/module/components/misc/QRRenderer.js +2 -2
  292. package/lib/module/components/misc/QRRenderer.js.map +1 -1
  293. package/lib/module/components/misc/QRScanner.js +3 -3
  294. package/lib/module/components/misc/QRScanner.js.map +1 -1
  295. package/lib/module/components/misc/QRScannerTorch.js +4 -4
  296. package/lib/module/components/misc/QRScannerTorch.js.map +1 -1
  297. package/lib/module/components/misc/SharedProofData.js +2 -2
  298. package/lib/module/components/misc/SharedProofData.js.map +1 -1
  299. package/lib/module/components/misc/UnorderedList.js +3 -3
  300. package/lib/module/components/misc/UnorderedList.js.map +1 -1
  301. package/lib/module/components/misc/VerifierCredentialCard.js +7 -7
  302. package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -1
  303. package/lib/module/components/modals/AppGuideModal.js +7 -7
  304. package/lib/module/components/modals/AppGuideModal.js.map +1 -1
  305. package/lib/module/components/modals/CameraDisclosureModal.js +4 -4
  306. package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -1
  307. package/lib/module/components/modals/CommonRemoveModal.js +7 -7
  308. package/lib/module/components/modals/CommonRemoveModal.js.map +1 -1
  309. package/lib/module/components/modals/DismissiblePopupModal.js +7 -7
  310. package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -1
  311. package/lib/module/components/modals/ErrorModal.js +4 -4
  312. package/lib/module/components/modals/ErrorModal.js.map +1 -1
  313. package/lib/module/components/modals/ImageModal.js +4 -4
  314. package/lib/module/components/modals/ImageModal.js.map +1 -1
  315. package/lib/module/components/modals/PopupModal.js +2 -2
  316. package/lib/module/components/modals/PopupModal.js.map +1 -1
  317. package/lib/module/components/modals/ProofCancelModal.js +2 -2
  318. package/lib/module/components/modals/ProofCancelModal.js.map +1 -1
  319. package/lib/module/components/record/RecordFooter.js +2 -2
  320. package/lib/module/components/record/RecordFooter.js.map +1 -1
  321. package/lib/module/components/record/RecordHeader.js +2 -2
  322. package/lib/module/components/record/RecordHeader.js.map +1 -1
  323. package/lib/module/components/record/RecordRemove.js +5 -5
  324. package/lib/module/components/record/RecordRemove.js.map +1 -1
  325. package/lib/module/components/texts/HighlightTextBox.js +3 -3
  326. package/lib/module/components/texts/HighlightTextBox.js.map +1 -1
  327. package/lib/module/components/texts/InfoTextBox.js +17 -17
  328. package/lib/module/components/texts/InfoTextBox.js.map +1 -1
  329. package/lib/module/components/texts/Link.js +2 -2
  330. package/lib/module/components/texts/Link.js.map +1 -1
  331. package/lib/module/components/toast/BaseToast.js +17 -17
  332. package/lib/module/components/toast/BaseToast.js.map +1 -1
  333. package/lib/module/components/tour/CredentialOfferTourSteps.js +2 -2
  334. package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -1
  335. package/lib/module/components/tour/CredentialsTourSteps.js +2 -2
  336. package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -1
  337. package/lib/module/components/tour/HomeTourSteps.js +6 -6
  338. package/lib/module/components/tour/HomeTourSteps.js.map +1 -1
  339. package/lib/module/components/tour/ProofRequestTourSteps.js +2 -2
  340. package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -1
  341. package/lib/module/components/tour/TourBox.js +6 -6
  342. package/lib/module/components/tour/TourBox.js.map +1 -1
  343. package/lib/module/components/views/Banner.js +19 -9
  344. package/lib/module/components/views/Banner.js.map +1 -1
  345. package/lib/module/components/views/CredentialDetailPrimaryHeader.js +3 -3
  346. package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -1
  347. package/lib/module/components/views/KeyboardView.js +2 -2
  348. package/lib/module/components/views/KeyboardView.js.map +1 -1
  349. package/lib/module/components/views/ProgressBar.js +3 -3
  350. package/lib/module/components/views/ProgressBar.js.map +1 -1
  351. package/lib/module/contexts/reducers/store.js +2 -1
  352. package/lib/module/contexts/reducers/store.js.map +1 -1
  353. package/lib/module/hooks/chat-messages.js +3 -3
  354. package/lib/module/hooks/chat-messages.js.map +1 -1
  355. package/lib/module/hooks/credential-card-styles.js +4 -4
  356. package/lib/module/hooks/credential-card-styles.js.map +1 -1
  357. package/lib/module/index.js +3 -2
  358. package/lib/module/index.js.map +1 -1
  359. package/lib/module/modules/history/ui/HistoryPage.js +2 -2
  360. package/lib/module/modules/history/ui/HistoryPage.js.map +1 -1
  361. package/lib/module/modules/history/ui/HistorySettings.js +2 -2
  362. package/lib/module/modules/history/ui/HistorySettings.js.map +1 -1
  363. package/lib/module/modules/history/ui/components/HistoryListItem.js +2 -2
  364. package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -1
  365. package/lib/module/modules/openid/components/OpenIDCredentialCard.js +5 -5
  366. package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -1
  367. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +2 -2
  368. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -1
  369. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +2 -2
  370. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -1
  371. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js +2 -2
  372. package/lib/module/modules/openid/screens/OpenIDProofChangeCredential.js.map +1 -1
  373. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +4 -4
  374. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -1
  375. package/lib/module/navigators/TabStack.js +2 -2
  376. package/lib/module/navigators/TabStack.js.map +1 -1
  377. package/lib/module/navigators/defaultStackOptions.js +3 -3
  378. package/lib/module/navigators/defaultStackOptions.js.map +1 -1
  379. package/lib/module/screens/AttemptLockout.js +2 -2
  380. package/lib/module/screens/AttemptLockout.js.map +1 -1
  381. package/lib/module/screens/AutoLock.js +7 -7
  382. package/lib/module/screens/AutoLock.js.map +1 -1
  383. package/lib/module/screens/ConfigureMediator.js +7 -7
  384. package/lib/module/screens/ConfigureMediator.js.map +1 -1
  385. package/lib/module/screens/ContactDetails.js +9 -9
  386. package/lib/module/screens/ContactDetails.js.map +1 -1
  387. package/lib/module/screens/CredentialDetails.js +16 -16
  388. package/lib/module/screens/CredentialDetails.js.map +1 -1
  389. package/lib/module/screens/CredentialOffer.js +2 -2
  390. package/lib/module/screens/CredentialOffer.js.map +1 -1
  391. package/lib/module/screens/DataRetention.js +11 -11
  392. package/lib/module/screens/DataRetention.js.map +1 -1
  393. package/lib/module/screens/Developer.js +29 -29
  394. package/lib/module/screens/Developer.js.map +1 -1
  395. package/lib/module/screens/Home.js +2 -2
  396. package/lib/module/screens/Home.js.map +1 -1
  397. package/lib/module/screens/JSONDetails.js +3 -3
  398. package/lib/module/screens/JSONDetails.js.map +1 -1
  399. package/lib/module/screens/Language.js +7 -7
  400. package/lib/module/screens/Language.js.map +1 -1
  401. package/lib/module/screens/ListContacts.js +3 -3
  402. package/lib/module/screens/ListContacts.js.map +1 -1
  403. package/lib/module/screens/ListCredentials.js +2 -2
  404. package/lib/module/screens/ListCredentials.js.map +1 -1
  405. package/lib/module/screens/ListProofRequests.js +2 -2
  406. package/lib/module/screens/ListProofRequests.js.map +1 -1
  407. package/lib/module/screens/MobileVerifierLoading.js +3 -3
  408. package/lib/module/screens/MobileVerifierLoading.js.map +1 -1
  409. package/lib/module/screens/PINChange.js +2 -2
  410. package/lib/module/screens/PINChange.js.map +1 -1
  411. package/lib/module/screens/PINCreate.js +2 -2
  412. package/lib/module/screens/PINCreate.js.map +1 -1
  413. package/lib/module/screens/PINEnter.js +3 -3
  414. package/lib/module/screens/PINEnter.js.map +1 -1
  415. package/lib/module/screens/PINExplainer.js +3 -3
  416. package/lib/module/screens/PINExplainer.js.map +1 -1
  417. package/lib/module/screens/PINVerify.js +2 -2
  418. package/lib/module/screens/PINVerify.js.map +1 -1
  419. package/lib/module/screens/PasteUrl.js +4 -4
  420. package/lib/module/screens/PasteUrl.js.map +1 -1
  421. package/lib/module/screens/ProofChangeCredential.js +2 -2
  422. package/lib/module/screens/ProofChangeCredential.js.map +1 -1
  423. package/lib/module/screens/ProofDetails.js +3 -3
  424. package/lib/module/screens/ProofDetails.js.map +1 -1
  425. package/lib/module/screens/ProofRequest.js +7 -7
  426. package/lib/module/screens/ProofRequest.js.map +1 -1
  427. package/lib/module/screens/ProofRequestAccept.js +3 -3
  428. package/lib/module/screens/ProofRequestAccept.js.map +1 -1
  429. package/lib/module/screens/ProofRequestDetails.js +4 -4
  430. package/lib/module/screens/ProofRequestDetails.js.map +1 -1
  431. package/lib/module/screens/ProofRequestUsageHistory.js +2 -2
  432. package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -1
  433. package/lib/module/screens/ProofRequesting.js +5 -5
  434. package/lib/module/screens/ProofRequesting.js.map +1 -1
  435. package/lib/module/screens/RenameContact.js +2 -2
  436. package/lib/module/screens/RenameContact.js.map +1 -1
  437. package/lib/module/screens/Settings.js +5 -5
  438. package/lib/module/screens/Settings.js.map +1 -1
  439. package/lib/module/screens/Splash.js +2 -2
  440. package/lib/module/screens/Splash.js.map +1 -1
  441. package/lib/module/screens/ToggleBiometry.js +2 -2
  442. package/lib/module/screens/ToggleBiometry.js.map +1 -1
  443. package/lib/module/screens/TogglePushNotifications.js +5 -5
  444. package/lib/module/screens/TogglePushNotifications.js.map +1 -1
  445. package/lib/module/screens/Tours.js +5 -5
  446. package/lib/module/screens/Tours.js.map +1 -1
  447. package/lib/module/screens/UpdateAvailable.js +2 -2
  448. package/lib/module/screens/UpdateAvailable.js.map +1 -1
  449. package/lib/module/screens/WhatAreContacts.js +2 -2
  450. package/lib/module/screens/WhatAreContacts.js.map +1 -1
  451. package/lib/module/theme-builder.js +109 -0
  452. package/lib/module/theme-builder.js.map +1 -0
  453. package/lib/module/theme.interface.js +2 -0
  454. package/lib/module/theme.interface.js.map +1 -0
  455. package/lib/module/theme.js +888 -669
  456. package/lib/module/theme.js.map +1 -1
  457. package/lib/module/utils/credential.js +3 -3
  458. package/lib/module/utils/credential.js.map +1 -1
  459. package/lib/module/utils/mediatorhelpers.js +16 -12
  460. package/lib/module/utils/mediatorhelpers.js.map +1 -1
  461. package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -1
  462. package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -1
  463. package/lib/typescript/src/components/views/Banner.d.ts.map +1 -1
  464. package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -1
  465. package/lib/typescript/src/hooks/credential-card-styles.d.ts +375 -13
  466. package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -1
  467. package/lib/typescript/src/index.d.ts +4 -3
  468. package/lib/typescript/src/index.d.ts.map +1 -1
  469. package/lib/typescript/src/navigators/defaultStackOptions.d.ts +1 -1
  470. package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -1
  471. package/lib/typescript/src/screens/Developer.d.ts.map +1 -1
  472. package/lib/typescript/src/theme-builder.d.ts +62 -0
  473. package/lib/typescript/src/theme-builder.d.ts.map +1 -0
  474. package/lib/typescript/src/theme.d.ts +204 -702
  475. package/lib/typescript/src/theme.d.ts.map +1 -1
  476. package/lib/typescript/src/theme.interface.d.ts +557 -0
  477. package/lib/typescript/src/theme.interface.d.ts.map +1 -0
  478. package/lib/typescript/src/utils/credential.d.ts +1 -1
  479. package/lib/typescript/src/utils/credential.d.ts.map +1 -1
  480. package/lib/typescript/src/utils/mediatorhelpers.d.ts.map +1 -1
  481. package/package.json +3 -3
  482. package/src/App.tsx +1 -1
  483. package/src/components/animated/ButtonLoading.tsx +2 -2
  484. package/src/components/animated/ConnectionLoading.tsx +3 -3
  485. package/src/components/animated/LoadingIndicator.tsx +2 -2
  486. package/src/components/animated/PresentationLoading.tsx +3 -3
  487. package/src/components/animated/RecordLoading.tsx +5 -5
  488. package/src/components/animated/SendingProof.tsx +3 -3
  489. package/src/components/animated/SentProof.tsx +3 -3
  490. package/src/components/buttons/Button.tsx +1 -1
  491. package/src/components/buttons/IconButton.tsx +5 -3
  492. package/src/components/buttons/ToggleButton.tsx +3 -3
  493. package/src/components/chat/ActionSlider.tsx +3 -3
  494. package/src/components/forms/WalletNameForm.tsx +2 -2
  495. package/src/components/inputs/BiometryControl.tsx +2 -2
  496. package/src/components/inputs/BulletPoint.tsx +2 -2
  497. package/src/components/listItems/ContactCredentialListItem.tsx +3 -3
  498. package/src/components/listItems/ContactListItem.tsx +2 -2
  499. package/src/components/listItems/NotificationListItem.tsx +22 -22
  500. package/src/components/misc/ConnectionAlert.tsx +5 -5
  501. package/src/components/misc/ConnectionImage.tsx +3 -3
  502. package/src/components/misc/CredentialCard.tsx +2 -2
  503. package/src/components/misc/CredentialCard10.tsx +6 -6
  504. package/src/components/misc/CredentialCard11.tsx +16 -12
  505. package/src/components/misc/CredentialCard11ActionFooter.tsx +3 -3
  506. package/src/components/misc/EmptyList.tsx +2 -2
  507. package/src/components/misc/EmptyListContacts.tsx +2 -2
  508. package/src/components/misc/FauxHeader.tsx +2 -2
  509. package/src/components/misc/InfoBox.tsx +29 -29
  510. package/src/components/misc/NoNewUpdates.tsx +2 -2
  511. package/src/components/misc/PINValidationHelper.tsx +3 -3
  512. package/src/components/misc/QRRenderer.tsx +2 -2
  513. package/src/components/misc/QRScanner.tsx +3 -3
  514. package/src/components/misc/QRScannerTorch.tsx +4 -4
  515. package/src/components/misc/SharedProofData.tsx +2 -2
  516. package/src/components/misc/UnorderedList.tsx +3 -3
  517. package/src/components/misc/VerifierCredentialCard.tsx +7 -7
  518. package/src/components/modals/AppGuideModal.tsx +7 -7
  519. package/src/components/modals/CameraDisclosureModal.tsx +4 -4
  520. package/src/components/modals/CommonRemoveModal.tsx +7 -7
  521. package/src/components/modals/DismissiblePopupModal.tsx +7 -7
  522. package/src/components/modals/ErrorModal.tsx +4 -4
  523. package/src/components/modals/ImageModal.tsx +4 -4
  524. package/src/components/modals/PopupModal.tsx +2 -2
  525. package/src/components/modals/ProofCancelModal.tsx +2 -2
  526. package/src/components/record/RecordFooter.tsx +2 -2
  527. package/src/components/record/RecordHeader.tsx +2 -2
  528. package/src/components/record/RecordRemove.tsx +5 -5
  529. package/src/components/texts/HighlightTextBox.tsx +3 -3
  530. package/src/components/texts/InfoTextBox.tsx +17 -17
  531. package/src/components/texts/Link.tsx +2 -2
  532. package/src/components/toast/BaseToast.tsx +17 -17
  533. package/src/components/tour/CredentialOfferTourSteps.tsx +2 -2
  534. package/src/components/tour/CredentialsTourSteps.tsx +2 -2
  535. package/src/components/tour/HomeTourSteps.tsx +6 -6
  536. package/src/components/tour/ProofRequestTourSteps.tsx +2 -2
  537. package/src/components/tour/TourBox.tsx +6 -6
  538. package/src/components/views/Banner.tsx +21 -14
  539. package/src/components/views/CredentialDetailPrimaryHeader.tsx +4 -4
  540. package/src/components/views/KeyboardView.tsx +2 -2
  541. package/src/components/views/ProgressBar.tsx +3 -3
  542. package/src/contexts/reducers/store.ts +4 -1
  543. package/src/hooks/chat-messages.tsx +3 -3
  544. package/src/hooks/credential-card-styles.ts +4 -4
  545. package/src/index.ts +4 -2
  546. package/src/modules/history/ui/HistoryPage.tsx +2 -2
  547. package/src/modules/history/ui/HistorySettings.tsx +2 -2
  548. package/src/modules/history/ui/components/HistoryListItem.tsx +2 -2
  549. package/src/modules/openid/components/OpenIDCredentialCard.tsx +5 -5
  550. package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +2 -2
  551. package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +2 -2
  552. package/src/modules/openid/screens/OpenIDProofChangeCredential.tsx +2 -2
  553. package/src/modules/openid/screens/OpenIDProofPresentation.tsx +4 -4
  554. package/src/navigators/TabStack.tsx +2 -2
  555. package/src/navigators/defaultStackOptions.tsx +3 -3
  556. package/src/screens/AttemptLockout.tsx +2 -2
  557. package/src/screens/AutoLock.tsx +7 -7
  558. package/src/screens/ConfigureMediator.tsx +7 -7
  559. package/src/screens/ContactDetails.tsx +9 -9
  560. package/src/screens/CredentialDetails.tsx +16 -16
  561. package/src/screens/CredentialOffer.tsx +2 -2
  562. package/src/screens/DataRetention.tsx +11 -11
  563. package/src/screens/Developer.tsx +24 -22
  564. package/src/screens/Home.tsx +2 -2
  565. package/src/screens/JSONDetails.tsx +3 -3
  566. package/src/screens/Language.tsx +7 -7
  567. package/src/screens/ListContacts.tsx +3 -3
  568. package/src/screens/ListCredentials.tsx +2 -2
  569. package/src/screens/ListProofRequests.tsx +2 -2
  570. package/src/screens/MobileVerifierLoading.tsx +3 -3
  571. package/src/screens/PINChange.tsx +2 -2
  572. package/src/screens/PINCreate.tsx +2 -2
  573. package/src/screens/PINEnter.tsx +3 -3
  574. package/src/screens/PINExplainer.tsx +3 -3
  575. package/src/screens/PINVerify.tsx +2 -2
  576. package/src/screens/PasteUrl.tsx +4 -4
  577. package/src/screens/ProofChangeCredential.tsx +2 -2
  578. package/src/screens/ProofDetails.tsx +3 -3
  579. package/src/screens/ProofRequest.tsx +7 -7
  580. package/src/screens/ProofRequestAccept.tsx +3 -3
  581. package/src/screens/ProofRequestDetails.tsx +4 -4
  582. package/src/screens/ProofRequestUsageHistory.tsx +2 -2
  583. package/src/screens/ProofRequesting.tsx +5 -5
  584. package/src/screens/RenameContact.tsx +2 -2
  585. package/src/screens/Settings.tsx +5 -5
  586. package/src/screens/Splash.tsx +2 -2
  587. package/src/screens/ToggleBiometry.tsx +2 -2
  588. package/src/screens/TogglePushNotifications.tsx +4 -4
  589. package/src/screens/Tours.tsx +5 -5
  590. package/src/screens/UpdateAvailable.tsx +2 -2
  591. package/src/screens/WhatAreContacts.tsx +2 -2
  592. package/src/theme-builder.ts +140 -0
  593. package/src/theme.interface.ts +580 -0
  594. package/src/theme.ts +881 -774
  595. package/src/utils/credential.ts +3 -3
  596. package/src/utils/mediatorhelpers.ts +23 -12
@@ -133,678 +133,882 @@ const NotificationColors = {
133
133
  errorText: '#FFFFFF',
134
134
  popupOverlay: `rgba(0, 0, 0, ${mediumOpacity})`
135
135
  };
136
- export const ColorPallet = {
136
+ export const ColorPalette = {
137
137
  brand: BrandColors,
138
138
  semantic: SemanticColors,
139
139
  notification: NotificationColors,
140
140
  grayscale: GrayscaleColors
141
141
  };
142
- export const TextTheme = {
143
- headingOne: {
144
- fontSize: 38,
145
- fontWeight: 'bold',
146
- color: ColorPallet.brand.text
147
- },
148
- headingTwo: {
149
- fontSize: 32,
150
- fontWeight: 'bold',
151
- color: ColorPallet.brand.text
152
- },
153
- headingThree: {
154
- fontSize: 26,
155
- fontWeight: 'bold',
156
- color: ColorPallet.brand.text
157
- },
158
- headingFour: {
159
- fontSize: 21,
160
- fontWeight: 'bold',
161
- color: ColorPallet.brand.text
162
- },
163
- normal: {
164
- fontSize: 18,
165
- fontWeight: 'normal',
166
- color: ColorPallet.brand.text
167
- },
168
- bold: {
169
- fontSize: 18,
170
- fontWeight: 'bold',
171
- color: ColorPallet.brand.text
172
- },
173
- label: {
174
- fontSize: 14,
175
- fontWeight: 'bold',
176
- color: ColorPallet.brand.text
177
- },
178
- labelTitle: {
179
- fontSize: 16,
180
- fontWeight: 'bold',
181
- color: ColorPallet.brand.text
182
- },
183
- labelSubtitle: {
184
- fontSize: 14,
185
- fontWeight: 'normal',
186
- color: ColorPallet.brand.text
187
- },
188
- labelText: {
189
- fontSize: 10,
190
- fontWeight: 'normal',
191
- fontStyle: 'italic',
192
- color: ColorPallet.brand.text
193
- },
194
- caption: {
195
- fontSize: 14,
196
- fontWeight: 'normal',
197
- color: ColorPallet.brand.text
198
- },
199
- title: {
200
- fontSize: 20,
201
- fontWeight: 'bold',
202
- color: ColorPallet.brand.text
203
- },
204
- headerTitle: {
205
- fontSize: 28,
206
- fontWeight: 'bold',
207
- color: ColorPallet.brand.headerText
208
- },
209
- modalNormal: {
210
- fontSize: 18,
211
- fontWeight: 'normal',
212
- color: ColorPallet.grayscale.white
213
- },
214
- modalTitle: {
215
- fontSize: 24,
216
- fontWeight: 'bold',
217
- color: ColorPallet.grayscale.white
218
- },
219
- modalHeadingOne: {
220
- fontSize: 38,
221
- fontWeight: 'bold',
222
- color: ColorPallet.grayscale.white
223
- },
224
- modalHeadingThree: {
225
- fontSize: 26,
226
- fontWeight: 'bold',
227
- color: ColorPallet.grayscale.white
228
- },
229
- popupModalText: {
230
- fontSize: 18,
231
- fontWeight: 'normal',
232
- color: ColorPallet.grayscale.white
233
- },
234
- settingsText: {
235
- fontSize: 21,
236
- fontWeight: 'normal',
237
- color: ColorPallet.brand.text
238
- },
239
- inlineErrorText: {
240
- fontSize: 16,
241
- fontWeight: 'normal',
242
- color: ColorPallet.brand.inlineError
243
- },
244
- inlineWarningText: {
245
- fontSize: 16,
246
- fontWeight: 'normal',
247
- color: ColorPallet.brand.inlineWarning
248
- }
249
- };
250
- export const Inputs = StyleSheet.create({
251
- label: {
252
- ...TextTheme.label
253
- },
254
- textInput: {
255
- padding: 10,
256
- borderRadius,
257
- fontSize: 16,
258
- backgroundColor: ColorPallet.brand.primaryBackground,
259
- color: ColorPallet.notification.infoText,
260
- borderWidth: 2,
261
- borderColor: ColorPallet.brand.secondary
262
- },
263
- inputSelected: {
264
- borderColor: ColorPallet.brand.primary
265
- },
266
- singleSelect: {
267
- padding: 12,
268
- borderRadius: borderRadius * 2,
269
- backgroundColor: ColorPallet.brand.secondaryBackground
270
- },
271
- singleSelectText: {
272
- ...TextTheme.normal
273
- },
274
- singleSelectIcon: {
275
- color: ColorPallet.grayscale.white
276
- },
277
- checkBoxColor: {
278
- color: ColorPallet.brand.primary
279
- },
280
- checkBoxText: {
281
- ...TextTheme.normal
282
- }
142
+
143
+ /**
144
+ * Creates a text theme based on the provided color pallet.
145
+ *
146
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
147
+ * @returns {*} {ITextTheme} - The created text theme
148
+ */
149
+ export function createTextTheme(theme) {
150
+ return StyleSheet.create({
151
+ headingOne: {
152
+ fontSize: 38,
153
+ fontWeight: 'bold',
154
+ color: theme.ColorPalette.brand.text
155
+ },
156
+ headingTwo: {
157
+ fontSize: 32,
158
+ fontWeight: 'bold',
159
+ color: theme.ColorPalette.brand.text
160
+ },
161
+ headingThree: {
162
+ fontSize: 26,
163
+ fontWeight: 'bold',
164
+ color: theme.ColorPalette.brand.text
165
+ },
166
+ headingFour: {
167
+ fontSize: 21,
168
+ fontWeight: 'bold',
169
+ color: theme.ColorPalette.brand.text
170
+ },
171
+ normal: {
172
+ fontSize: 18,
173
+ fontWeight: 'normal',
174
+ color: theme.ColorPalette.brand.text
175
+ },
176
+ bold: {
177
+ fontSize: 18,
178
+ fontWeight: 'bold',
179
+ color: theme.ColorPalette.brand.text
180
+ },
181
+ label: {
182
+ fontSize: 14,
183
+ fontWeight: 'bold',
184
+ color: theme.ColorPalette.brand.text
185
+ },
186
+ labelTitle: {
187
+ fontSize: 16,
188
+ fontWeight: 'bold',
189
+ color: theme.ColorPalette.brand.text
190
+ },
191
+ labelSubtitle: {
192
+ fontSize: 14,
193
+ fontWeight: 'normal',
194
+ color: theme.ColorPalette.brand.text
195
+ },
196
+ labelText: {
197
+ fontSize: 10,
198
+ fontWeight: 'normal',
199
+ fontStyle: 'italic',
200
+ color: theme.ColorPalette.brand.text
201
+ },
202
+ caption: {
203
+ fontSize: 14,
204
+ fontWeight: 'normal',
205
+ color: theme.ColorPalette.brand.text
206
+ },
207
+ title: {
208
+ fontSize: 20,
209
+ fontWeight: 'bold',
210
+ color: theme.ColorPalette.brand.text
211
+ },
212
+ headerTitle: {
213
+ fontSize: 28,
214
+ fontWeight: 'bold',
215
+ color: theme.ColorPalette.brand.headerText
216
+ },
217
+ modalNormal: {
218
+ fontSize: 18,
219
+ fontWeight: 'normal',
220
+ color: theme.ColorPalette.grayscale.white
221
+ },
222
+ modalTitle: {
223
+ fontSize: 24,
224
+ fontWeight: 'bold',
225
+ color: theme.ColorPalette.grayscale.white
226
+ },
227
+ modalHeadingOne: {
228
+ fontSize: 38,
229
+ color: theme.ColorPalette.grayscale.white,
230
+ fontWeight: 'bold'
231
+ },
232
+ modalHeadingThree: {
233
+ fontSize: 26,
234
+ color: theme.ColorPalette.grayscale.white,
235
+ fontWeight: 'bold'
236
+ },
237
+ popupModalText: {
238
+ fontSize: 18,
239
+ fontWeight: 'normal',
240
+ color: theme.ColorPalette.grayscale.white
241
+ },
242
+ settingsText: {
243
+ fontSize: 21,
244
+ fontWeight: 'normal',
245
+ color: theme.ColorPalette.brand.text
246
+ },
247
+ inlineErrorText: {
248
+ fontSize: 16,
249
+ fontWeight: 'normal',
250
+ color: theme.ColorPalette.brand.inlineError
251
+ },
252
+ inlineWarningText: {
253
+ fontSize: 16,
254
+ fontWeight: 'normal',
255
+ color: theme.ColorPalette.brand.inlineWarning
256
+ }
257
+ });
258
+ }
259
+ export const TextTheme = createTextTheme({
260
+ ColorPalette
283
261
  });
284
- export const Buttons = StyleSheet.create({
285
- critical: {
286
- padding: 16,
287
- borderRadius: 4,
288
- backgroundColor: ColorPallet.brand.primary
289
- },
290
- criticalText: {
291
- ...TextTheme.bold,
292
- color: ColorPallet.brand.buttonText,
293
- textAlign: 'center'
294
- },
295
- criticalTextDisabled: {
296
- ...TextTheme.bold,
297
- color: ColorPallet.brand.buttonText,
298
- textAlign: 'center'
299
- },
300
- primary: {
301
- padding: 16,
302
- borderRadius: 4,
303
- backgroundColor: ColorPallet.brand.primary
304
- },
305
- primaryDisabled: {
306
- padding: 16,
307
- borderRadius: 4,
308
- backgroundColor: ColorPallet.brand.primaryDisabled
309
- },
310
- primaryText: {
311
- ...TextTheme.bold,
312
- color: ColorPallet.brand.buttonText,
313
- textAlign: 'center'
314
- },
315
- primaryTextDisabled: {
316
- ...TextTheme.bold,
317
- textAlign: 'center'
318
- },
319
- secondary: {
320
- padding: 16,
321
- borderRadius: 4,
322
- borderWidth: 2,
323
- borderColor: ColorPallet.brand.primary
324
- },
325
- secondaryDisabled: {
326
- padding: 16,
327
- borderRadius: 4,
328
- borderWidth: 2,
329
- borderColor: ColorPallet.brand.secondaryDisabled
330
- },
331
- secondaryText: {
332
- ...TextTheme.bold,
333
- color: ColorPallet.brand.primary,
334
- textAlign: 'center'
335
- },
336
- secondaryTextDisabled: {
337
- ...TextTheme.bold,
338
- color: ColorPallet.brand.secondaryDisabled,
339
- textAlign: 'center'
340
- },
341
- tertiary: {
342
- padding: 16
343
- },
344
- tertiaryDisabled: {
345
- padding: 16
346
- },
347
- tertiaryText: {
348
- ...TextTheme.bold,
349
- color: ColorPallet.brand.primary,
350
- textAlign: 'center'
351
- },
352
- tertiaryTextDisabled: {
353
- ...TextTheme.bold,
354
- color: ColorPallet.brand.tertiaryDisabled,
355
- textAlign: 'center'
356
- },
357
- modalCritical: {
358
- padding: 16,
359
- borderRadius: 4,
360
- backgroundColor: ColorPallet.brand.primary
361
- },
362
- modalCriticalDisabled: {
363
- padding: 16,
364
- borderRadius: 4,
365
- backgroundColor: ColorPallet.brand.primaryDisabled
366
- },
367
- modalCriticalText: {
368
- ...TextTheme.bold,
369
- color: ColorPallet.brand.buttonText,
370
- textAlign: 'center'
371
- },
372
- modalCriticalTextDisabled: {
373
- ...TextTheme.bold,
374
- color: ColorPallet.brand.buttonText,
375
- textAlign: 'center'
376
- },
377
- modalPrimary: {
378
- padding: 16,
379
- borderRadius: 4,
380
- backgroundColor: ColorPallet.brand.modalPrimary
381
- },
382
- modalPrimaryDisabled: {
383
- padding: 16,
384
- borderRadius: 4,
385
- backgroundColor: ColorPallet.brand.primaryDisabled
386
- },
387
- modalPrimaryText: {
388
- ...TextTheme.bold,
389
- color: ColorPallet.brand.buttonText,
390
- textAlign: 'center'
391
- },
392
- modalPrimaryTextDisabled: {
393
- ...TextTheme.bold,
394
- color: ColorPallet.brand.buttonText,
395
- textAlign: 'center'
396
- },
397
- modalSecondary: {
398
- padding: 16,
399
- borderRadius: 4,
400
- borderWidth: 2,
401
- borderColor: ColorPallet.brand.modalPrimary
402
- },
403
- modalSecondaryDisabled: {
404
- padding: 16,
405
- borderRadius: 4,
406
- borderWidth: 2,
407
- borderColor: ColorPallet.brand.secondaryDisabled
408
- },
409
- modalSecondaryText: {
410
- ...TextTheme.bold,
411
- color: ColorPallet.brand.modalPrimary,
412
- textAlign: 'center'
413
- },
414
- modalSecondaryTextDisabled: {
415
- ...TextTheme.bold,
416
- color: ColorPallet.brand.secondaryDisabled,
417
- textAlign: 'center'
418
- },
419
- modalTertiary: {
420
- padding: 16
421
- },
422
- modalTertiaryDisabled: {
423
- padding: 16
424
- },
425
- modalTertiaryText: {
426
- ...TextTheme.bold,
427
- color: ColorPallet.brand.modalPrimary,
428
- textAlign: 'center'
429
- },
430
- modalTertiaryTextDisabled: {
431
- ...TextTheme.bold,
432
- color: ColorPallet.brand.tertiaryDisabled,
433
- textAlign: 'center'
434
- }
262
+
263
+ /**
264
+ * Creates a theme for inputs based on the provided color pallet and text theme.
265
+ *
266
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme; borderRadius: number }} theme - The theme object containing the color pallet, text theme, and border radius
267
+ * @returns {*} {IInputs} - The created inputs theme
268
+ */
269
+ export function createInputsTheme(theme) {
270
+ return StyleSheet.create({
271
+ label: {
272
+ ...theme.TextTheme.label
273
+ },
274
+ textInput: {
275
+ padding: 10,
276
+ borderRadius,
277
+ fontSize: 16,
278
+ backgroundColor: theme.ColorPalette.brand.primaryBackground,
279
+ color: theme.ColorPalette.notification.infoText,
280
+ borderWidth: 2,
281
+ borderColor: theme.ColorPalette.brand.secondary
282
+ },
283
+ singleSelectText: {
284
+ ...theme.TextTheme.normal
285
+ },
286
+ singleSelectIcon: {
287
+ color: theme.ColorPalette.grayscale.white
288
+ },
289
+ checkBoxColor: {
290
+ color: theme.ColorPalette.brand.primary
291
+ },
292
+ checkBoxText: {
293
+ ...theme.TextTheme.normal
294
+ },
295
+ inputSelected: {
296
+ borderColor: theme.ColorPalette.brand.primary
297
+ },
298
+ singleSelect: {
299
+ padding: 12,
300
+ borderRadius: theme.borderRadius * 2,
301
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground
302
+ }
303
+ });
304
+ }
305
+ export const Inputs = createInputsTheme({
306
+ ColorPalette,
307
+ TextTheme,
308
+ borderRadius
435
309
  });
436
- export const ListItems = StyleSheet.create({
437
- credentialBackground: {
438
- backgroundColor: ColorPallet.brand.secondaryBackground
439
- },
440
- credentialTitle: {
441
- ...TextTheme.headingFour
442
- },
443
- credentialDetails: {
444
- ...TextTheme.caption
445
- },
446
- credentialOfferBackground: {
447
- backgroundColor: ColorPallet.brand.modalPrimaryBackground
448
- },
449
- credentialOfferTitle: {
450
- ...TextTheme.modalHeadingThree,
451
- fontWeight: 'normal'
452
- },
453
- credentialOfferDetails: {
454
- ...TextTheme.normal
455
- },
456
- revoked: {
457
- backgroundColor: ColorPallet.notification.error,
458
- borderColor: ColorPallet.notification.errorBorder
459
- },
460
- contactBackground: {
461
- backgroundColor: ColorPallet.brand.secondaryBackground
462
- },
463
- credentialIconColor: {
464
- color: ColorPallet.notification.infoText
465
- },
466
- contactTitle: {
467
- color: ColorPallet.brand.text
468
- },
469
- contactDate: {
470
- color: ColorPallet.brand.text,
471
- marginTop: 10
472
- },
473
- contactIconBackground: {
474
- backgroundColor: ColorPallet.brand.primary
475
- },
476
- contactIcon: {
477
- color: ColorPallet.grayscale.white
478
- },
479
- recordAttributeLabel: {
480
- ...TextTheme.bold
481
- },
482
- recordContainer: {
483
- backgroundColor: ColorPallet.brand.secondaryBackground
484
- },
485
- recordBorder: {
486
- borderBottomColor: ColorPallet.brand.primaryBackground
487
- },
488
- recordLink: {
489
- color: ColorPallet.brand.link
490
- },
491
- recordAttributeText: {
492
- ...TextTheme.normal
493
- },
494
- proofIcon: {
495
- ...TextTheme.headingOne
496
- },
497
- proofError: {
498
- color: ColorPallet.semantic.error
499
- },
500
- avatarText: {
501
- ...TextTheme.headingTwo,
502
- fontWeight: 'normal'
503
- },
504
- avatarCircle: {
505
- borderRadius: TextTheme.headingTwo.fontSize,
506
- borderColor: TextTheme.headingTwo.color,
507
- width: TextTheme.headingTwo.fontSize * 2,
508
- height: TextTheme.headingTwo.fontSize * 2
509
- },
510
- emptyList: {
511
- ...TextTheme.normal
512
- },
513
- requestTemplateBackground: {
514
- backgroundColor: ColorPallet.grayscale.white
515
- },
516
- requestTemplateIconColor: {
517
- color: ColorPallet.notification.infoText
518
- },
519
- requestTemplateTitle: {
520
- color: ColorPallet.grayscale.black,
521
- fontWeight: 'bold',
522
- fontSize: 16
523
- },
524
- requestTemplateDetails: {
525
- color: ColorPallet.grayscale.black,
526
- fontWeight: 'normal',
527
- fontSize: 16
528
- },
529
- requestTemplateZkpLabel: {
530
- color: ColorPallet.grayscale.mediumGrey,
531
- fontSize: 12
532
- },
533
- requestTemplateIcon: {
534
- color: ColorPallet.grayscale.black,
535
- fontSize: 36
536
- },
537
- requestTemplateDate: {
538
- color: ColorPallet.grayscale.mediumGrey,
539
- fontSize: 10
540
- }
310
+
311
+ /**
312
+ * Creates a theme for buttons based on the provided color pallet and text theme.
313
+ *
314
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
315
+ * @returns {*} {IButtons} - The created buttons theme
316
+ */
317
+ export function createButtonsTheme(theme) {
318
+ const textStyles = StyleSheet.create({
319
+ criticalText: {
320
+ ...theme.TextTheme.bold,
321
+ color: theme.ColorPalette.brand.buttonText,
322
+ textAlign: 'center'
323
+ },
324
+ criticalTextDisabled: {
325
+ ...theme.TextTheme.bold,
326
+ color: theme.ColorPalette.brand.buttonText,
327
+ textAlign: 'center'
328
+ },
329
+ primaryText: {
330
+ ...theme.TextTheme.bold,
331
+ color: theme.ColorPalette.brand.buttonText,
332
+ textAlign: 'center'
333
+ },
334
+ primaryTextDisabled: {
335
+ ...theme.TextTheme.bold,
336
+ textAlign: 'center'
337
+ },
338
+ secondaryText: {
339
+ ...theme.TextTheme.bold,
340
+ color: theme.ColorPalette.brand.primary,
341
+ textAlign: 'center'
342
+ },
343
+ secondaryTextDisabled: {
344
+ ...theme.TextTheme.bold,
345
+ color: theme.ColorPalette.brand.secondaryDisabled,
346
+ textAlign: 'center'
347
+ },
348
+ tertiaryText: {
349
+ ...theme.TextTheme.bold,
350
+ color: theme.ColorPalette.brand.primary,
351
+ textAlign: 'center'
352
+ },
353
+ tertiaryTextDisabled: {
354
+ ...theme.TextTheme.bold,
355
+ color: theme.ColorPalette.brand.tertiaryDisabled,
356
+ textAlign: 'center'
357
+ },
358
+ modalCriticalText: {
359
+ ...theme.TextTheme.bold,
360
+ color: theme.ColorPalette.brand.buttonText,
361
+ textAlign: 'center'
362
+ },
363
+ modalCriticalTextDisabled: {
364
+ ...theme.TextTheme.bold,
365
+ color: theme.ColorPalette.brand.buttonText,
366
+ textAlign: 'center'
367
+ },
368
+ modalPrimaryText: {
369
+ ...theme.TextTheme.bold,
370
+ color: theme.ColorPalette.brand.buttonText,
371
+ textAlign: 'center'
372
+ },
373
+ modalPrimaryTextDisabled: {
374
+ ...theme.TextTheme.bold,
375
+ color: theme.ColorPalette.brand.buttonText,
376
+ textAlign: 'center'
377
+ },
378
+ modalSecondaryText: {
379
+ ...theme.TextTheme.bold,
380
+ color: theme.ColorPalette.brand.modalPrimary,
381
+ textAlign: 'center'
382
+ },
383
+ modalSecondaryTextDisabled: {
384
+ ...theme.TextTheme.bold,
385
+ color: theme.ColorPalette.brand.secondaryDisabled,
386
+ textAlign: 'center'
387
+ },
388
+ modalTertiaryText: {
389
+ ...theme.TextTheme.bold,
390
+ color: theme.ColorPalette.brand.modalPrimary,
391
+ textAlign: 'center'
392
+ },
393
+ modalTertiaryTextDisabled: {
394
+ ...theme.TextTheme.bold,
395
+ color: theme.ColorPalette.brand.tertiaryDisabled,
396
+ textAlign: 'center'
397
+ }
398
+ });
399
+ const viewStyles = StyleSheet.create({
400
+ critical: {
401
+ padding: 16,
402
+ borderRadius: 4,
403
+ backgroundColor: theme.ColorPalette.brand.primary
404
+ },
405
+ criticalDisabled: {
406
+ padding: 16,
407
+ borderRadius: 4,
408
+ backgroundColor: theme.ColorPalette.brand.primaryDisabled
409
+ },
410
+ primary: {
411
+ padding: 16,
412
+ borderRadius: 4,
413
+ backgroundColor: theme.ColorPalette.brand.primary
414
+ },
415
+ primaryDisabled: {
416
+ padding: 16,
417
+ borderRadius: 4,
418
+ backgroundColor: theme.ColorPalette.brand.primaryDisabled
419
+ },
420
+ secondary: {
421
+ padding: 16,
422
+ borderRadius: 4,
423
+ borderWidth: 2,
424
+ borderColor: theme.ColorPalette.brand.primary
425
+ },
426
+ secondaryDisabled: {
427
+ padding: 16,
428
+ borderRadius: 4,
429
+ borderWidth: 2,
430
+ borderColor: theme.ColorPalette.brand.secondaryDisabled
431
+ },
432
+ tertiary: {
433
+ padding: 16
434
+ },
435
+ tertiaryDisabled: {
436
+ padding: 16
437
+ },
438
+ modalCritical: {
439
+ padding: 16,
440
+ borderRadius: 4,
441
+ backgroundColor: theme.ColorPalette.brand.primary
442
+ },
443
+ modalCriticalDisabled: {
444
+ padding: 16,
445
+ borderRadius: 4,
446
+ backgroundColor: theme.ColorPalette.brand.primaryDisabled
447
+ },
448
+ modalPrimary: {
449
+ padding: 16,
450
+ borderRadius: 4,
451
+ backgroundColor: theme.ColorPalette.brand.modalPrimary
452
+ },
453
+ modalPrimaryDisabled: {
454
+ padding: 16,
455
+ borderRadius: 4,
456
+ backgroundColor: theme.ColorPalette.brand.primaryDisabled
457
+ },
458
+ modalSecondary: {
459
+ padding: 16,
460
+ borderRadius: 4,
461
+ borderWidth: 2,
462
+ borderColor: theme.ColorPalette.brand.modalPrimary
463
+ },
464
+ modalSecondaryDisabled: {
465
+ padding: 16,
466
+ borderRadius: 4,
467
+ borderWidth: 2,
468
+ borderColor: theme.ColorPalette.brand.secondaryDisabled
469
+ },
470
+ modalTertiary: {
471
+ padding: 16
472
+ },
473
+ modalTertiaryDisabled: {
474
+ padding: 16
475
+ }
476
+ });
477
+ return {
478
+ ...textStyles,
479
+ ...viewStyles
480
+ };
481
+ }
482
+ export const Buttons = createButtonsTheme({
483
+ ColorPalette,
484
+ TextTheme
541
485
  });
542
- export const TabTheme = {
543
- tabBarStyle: {
544
- height: 60,
545
- backgroundColor: ColorPallet.brand.secondaryBackground,
546
- shadowOffset: {
547
- width: 0,
548
- height: -3
549
- },
550
- shadowRadius: 6,
551
- shadowColor: ColorPallet.grayscale.black,
552
- shadowOpacity: 0.1,
553
- borderTopWidth: 0,
554
- paddingBottom: 0
555
- },
556
- tabBarContainerStyle: {
557
- flex: 1,
558
- justifyContent: 'center',
559
- alignItems: 'center'
560
- },
561
- tabBarActiveTintColor: ColorPallet.brand.primary,
562
- tabBarInactiveTintColor: ColorPallet.brand.tabBarInactive,
563
- tabBarTextStyle: {
564
- ...TextTheme.labelSubtitle,
565
- paddingBottom: 5
566
- },
567
- tabBarButtonIconStyle: {
568
- color: ColorPallet.brand.headerIcon
569
- },
570
- focusTabIconStyle: {
571
- height: 60,
572
- width: 60,
573
- backgroundColor: ColorPallet.brand.primary,
574
- borderRadius: 60,
575
- justifyContent: 'center',
576
- alignItems: 'center'
577
- },
578
- focusTabActiveTintColor: {
579
- backgroundColor: ColorPallet.brand.secondary
580
- },
581
- tabBarSecondaryBackgroundColor: ColorPallet.brand.secondaryBackground
582
- };
583
- export const NavigationTheme = {
584
- dark: true,
585
- colors: {
586
- primary: ColorPallet.brand.primary,
587
- background: ColorPallet.brand.primaryBackground,
588
- card: ColorPallet.brand.primary,
589
- text: ColorPallet.grayscale.white,
590
- border: ColorPallet.grayscale.white,
591
- notification: ColorPallet.grayscale.white
592
- }
593
- };
594
- export const HomeTheme = StyleSheet.create({
595
- welcomeHeader: {
596
- ...TextTheme.headingOne
597
- },
598
- credentialMsg: {
599
- ...TextTheme.normal
600
- },
601
- notificationsHeader: {
602
- ...TextTheme.headingThree
603
- },
604
- noNewUpdatesText: {
605
- ...TextTheme.normal,
606
- color: ColorPallet.notification.infoText
607
- },
608
- link: {
609
- ...TextTheme.normal,
610
- color: ColorPallet.brand.link
611
- }
486
+
487
+ /**
488
+ * Creates a theme for list items based on the provided color pallet and text theme.
489
+ *
490
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
491
+ * @returns {*} {IListItems} - The created list items theme
492
+ */
493
+ export function createListItemsTheme(theme) {
494
+ const testStyles = StyleSheet.create({
495
+ credentialTitle: {
496
+ ...theme.TextTheme.headingFour
497
+ },
498
+ credentialDetails: {
499
+ ...theme.TextTheme.caption
500
+ },
501
+ credentialOfferTitle: {
502
+ ...theme.TextTheme.modalHeadingThree,
503
+ fontWeight: 'normal'
504
+ },
505
+ credentialOfferDetails: {
506
+ ...theme.TextTheme.normal
507
+ },
508
+ credentialIconColor: {
509
+ color: theme.ColorPalette.notification.infoText
510
+ },
511
+ contactTitle: {
512
+ color: theme.ColorPalette.brand.text
513
+ },
514
+ contactDate: {
515
+ color: theme.ColorPalette.brand.text,
516
+ marginTop: 10
517
+ },
518
+ contactIcon: {
519
+ color: theme.ColorPalette.grayscale.white
520
+ },
521
+ recordAttributeLabel: {
522
+ ...theme.TextTheme.bold
523
+ },
524
+ recordLink: {
525
+ color: theme.ColorPalette.brand.link
526
+ },
527
+ recordAttributeText: {
528
+ ...theme.TextTheme.normal
529
+ },
530
+ proofIcon: {
531
+ ...theme.TextTheme.headingOne
532
+ },
533
+ proofError: {
534
+ color: theme.ColorPalette.semantic.error
535
+ },
536
+ avatarText: {
537
+ ...theme.TextTheme.headingTwo,
538
+ fontWeight: 'normal'
539
+ },
540
+ avatarCircle: {
541
+ borderRadius: theme.TextTheme.headingTwo.fontSize,
542
+ borderColor: theme.TextTheme.headingTwo.color,
543
+ width: (theme.TextTheme.headingTwo.fontSize ?? 32) * 2,
544
+ height: (theme.TextTheme.headingTwo.fontSize ?? 32) * 2
545
+ },
546
+ requestTemplateIconColor: {
547
+ color: theme.ColorPalette.notification.infoText
548
+ },
549
+ requestTemplateTitle: {
550
+ color: theme.ColorPalette.grayscale.black,
551
+ fontWeight: 'bold',
552
+ fontSize: 16
553
+ },
554
+ requestTemplateDetails: {
555
+ color: theme.ColorPalette.grayscale.black,
556
+ fontWeight: 'normal',
557
+ fontSize: 16
558
+ },
559
+ requestTemplateZkpLabel: {
560
+ color: theme.ColorPalette.grayscale.mediumGrey,
561
+ fontSize: 12
562
+ },
563
+ requestTemplateIcon: {
564
+ color: theme.ColorPalette.grayscale.black,
565
+ fontSize: 36
566
+ },
567
+ requestTemplateDate: {
568
+ color: theme.ColorPalette.grayscale.mediumGrey,
569
+ fontSize: 10
570
+ }
571
+ });
572
+ const viewStyles = StyleSheet.create({
573
+ credentialBackground: {
574
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground
575
+ },
576
+ credentialOfferBackground: {
577
+ backgroundColor: theme.ColorPalette.brand.modalPrimaryBackground
578
+ },
579
+ revoked: {
580
+ backgroundColor: theme.ColorPalette.notification.error,
581
+ borderColor: theme.ColorPalette.notification.errorBorder
582
+ },
583
+ contactBackground: {
584
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground
585
+ },
586
+ contactIconBackground: {
587
+ backgroundColor: theme.ColorPalette.brand.primary
588
+ },
589
+ recordContainer: {
590
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground
591
+ },
592
+ recordBorder: {
593
+ borderBottomColor: theme.ColorPalette.brand.primaryBackground
594
+ },
595
+ emptyList: {
596
+ ...theme.TextTheme.normal
597
+ },
598
+ requestTemplateBackground: {
599
+ backgroundColor: theme.ColorPalette.grayscale.white
600
+ }
601
+ });
602
+ return {
603
+ ...testStyles,
604
+ ...viewStyles
605
+ };
606
+ }
607
+ export const ListItems = createListItemsTheme({
608
+ ColorPalette,
609
+ TextTheme
612
610
  });
613
- export const SettingsTheme = {
614
- groupHeader: {
615
- ...TextTheme.normal,
616
- marginBottom: 8
617
- },
618
- groupBackground: ColorPallet.brand.secondaryBackground,
619
- iconColor: TextTheme.normal.color,
620
- text: {
621
- ...TextTheme.caption,
622
- color: ColorPallet.grayscale.white
623
- }
624
- };
625
- export const ChatTheme = {
626
- containerStyle: {
627
- marginBottom: 16,
628
- marginLeft: 16,
629
- marginRight: 16,
630
- flexDirection: 'column',
631
- alignItems: 'flex-start',
632
- alignSelf: 'flex-end'
633
- },
634
- leftBubble: {
635
- backgroundColor: ColorPallet.brand.secondaryBackground,
636
- borderRadius: 4,
637
- padding: 16,
638
- marginLeft: 16
639
- },
640
- rightBubble: {
641
- backgroundColor: ColorPallet.brand.primaryLight,
642
- borderRadius: 4,
643
- padding: 16,
644
- marginRight: 16
645
- },
646
- timeStyleLeft: {
647
- color: ColorPallet.grayscale.lightGrey,
648
- fontSize: 12,
649
- marginTop: 8
650
- },
651
- timeStyleRight: {
652
- color: ColorPallet.grayscale.lightGrey,
653
- fontSize: 12,
654
- marginTop: 8
655
- },
656
- leftText: {
657
- color: ColorPallet.brand.secondary,
658
- fontSize: TextTheme.normal.fontSize
659
- },
660
- leftTextHighlighted: {
661
- ...TextTheme.bold,
662
- color: ColorPallet.brand.secondary
663
- },
664
- rightText: {
665
- color: ColorPallet.brand.secondary,
666
- fontSize: TextTheme.normal.fontSize
667
- },
668
- rightTextHighlighted: {
669
- ...TextTheme.bold,
670
- color: ColorPallet.brand.secondary
671
- },
672
- inputToolbar: {
673
- backgroundColor: ColorPallet.brand.secondary,
674
- shadowColor: ColorPallet.brand.primaryDisabled,
675
- borderRadius: 10
676
- },
677
- inputText: {
678
- lineHeight: undefined,
679
- fontWeight: '500',
680
- fontSize: TextTheme.normal.fontSize
681
- },
682
- placeholderText: ColorPallet.grayscale.lightGrey,
683
- sendContainer: {
684
- marginBottom: 4,
685
- paddingHorizontal: 4,
686
- justifyContent: 'center'
687
- },
688
- sendEnabled: ColorPallet.brand.primary,
689
- sendDisabled: ColorPallet.brand.primaryDisabled,
690
- options: ColorPallet.brand.primary,
691
- optionsText: ColorPallet.grayscale.black,
692
- openButtonStyle: {
693
- borderRadius: 32,
694
- backgroundColor: ColorPallet.brand.primary,
695
- paddingTop: 8,
696
- paddingBottom: 8,
697
- paddingLeft: 16,
698
- paddingRight: 16,
699
- marginTop: 16
700
- },
701
- openButtonTextStyle: {
702
- fontSize: TextTheme.normal.fontSize,
703
- fontWeight: 'bold',
704
- textAlign: 'center'
705
- },
706
- documentIconContainer: {
707
- backgroundColor: ColorPallet.brand.primary,
708
- alignSelf: 'flex-start',
709
- borderRadius: 4,
710
- marginBottom: 16,
711
- justifyContent: 'center',
712
- alignItems: 'center',
713
- width: 50,
714
- height: 50
715
- },
716
- documentIcon: {
717
- color: ColorPallet.grayscale.white
718
- }
719
- };
720
- export const OnboardingTheme = {
721
- container: {
722
- backgroundColor: ColorPallet.brand.primaryBackground
723
- },
724
- carouselContainer: {
725
- backgroundColor: ColorPallet.brand.primaryBackground
726
- },
727
- pagerDot: {
728
- borderColor: ColorPallet.brand.primary
729
- },
730
- pagerDotActive: {
731
- color: ColorPallet.brand.primary
732
- },
733
- pagerDotInactive: {
734
- color: ColorPallet.brand.secondary
735
- },
736
- pagerNavigationButton: {
737
- color: ColorPallet.brand.primary,
738
- fontWeight: 'bold',
739
- fontSize: 18
740
- },
741
- headerTintColor: ColorPallet.grayscale.white,
742
- headerText: {
743
- ...TextTheme.bold
744
- },
745
- bodyText: {
746
- ...TextTheme.normal
747
- },
748
- imageDisplayOptions: {
749
- fill: ColorPallet.notification.infoText
750
- }
751
- };
752
- export const DialogTheme = {
753
- modalView: {
754
- backgroundColor: ColorPallet.brand.secondaryBackground
755
- },
756
- titleText: {
757
- color: ColorPallet.grayscale.white
758
- },
759
- description: {
760
- color: ColorPallet.grayscale.white
761
- },
762
- closeButtonIcon: {
763
- color: ColorPallet.grayscale.white
764
- },
765
- carouselButtonText: {
766
- color: ColorPallet.grayscale.white
767
- }
768
- };
769
- const LoadingTheme = {
770
- backgroundColor: ColorPallet.brand.modalPrimaryBackground
771
- };
611
+
612
+ /**
613
+ * Creates a theme for tabs based on the provided color pallet and text theme.
614
+ *
615
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
616
+ * @returns {*} {ITabTheme} - The created tab theme
617
+ */
618
+ export function createTabTheme(theme) {
619
+ const textStyles = StyleSheet.create({
620
+ tabBarTextStyle: {
621
+ ...theme.TextTheme.labelSubtitle,
622
+ paddingBottom: 5
623
+ },
624
+ tabBarButtonIconStyle: {
625
+ color: theme.ColorPalette.brand.headerIcon
626
+ }
627
+ });
628
+ const viewStyles = StyleSheet.create({
629
+ tabBarStyle: {
630
+ height: 60,
631
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground,
632
+ shadowOffset: {
633
+ width: 0,
634
+ height: -3
635
+ },
636
+ shadowRadius: 6,
637
+ shadowColor: theme.ColorPalette.grayscale.black,
638
+ shadowOpacity: 0.1,
639
+ borderTopWidth: 0,
640
+ paddingBottom: 0
641
+ },
642
+ tabBarContainerStyle: {
643
+ flex: 1,
644
+ justifyContent: 'center',
645
+ alignItems: 'center'
646
+ },
647
+ focusTabIconStyle: {
648
+ height: 60,
649
+ width: 60,
650
+ backgroundColor: theme.ColorPalette.brand.primary,
651
+ borderRadius: 60,
652
+ justifyContent: 'center',
653
+ alignItems: 'center'
654
+ },
655
+ focusTabActiveTintColor: {
656
+ backgroundColor: theme.ColorPalette.brand.secondary
657
+ }
658
+ });
659
+ return {
660
+ ...textStyles,
661
+ ...viewStyles,
662
+ tabBarActiveTintColor: theme.ColorPalette.brand.primary,
663
+ tabBarInactiveTintColor: theme.ColorPalette.brand.tabBarInactive,
664
+ tabBarSecondaryBackgroundColor: theme.ColorPalette.brand.secondaryBackground
665
+ };
666
+ }
667
+ export const TabTheme = createTabTheme({
668
+ ColorPalette,
669
+ TextTheme
670
+ });
671
+
672
+ /**
673
+ * Creates a navigation theme based on the provided color pallet.
674
+ *
675
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
676
+ * @returns {*} {INavigationTheme} - The created navigation theme
677
+ */
678
+ export function createNavigationTheme(theme) {
679
+ return {
680
+ dark: true,
681
+ colors: {
682
+ primary: theme.ColorPalette.brand.primary,
683
+ background: theme.ColorPalette.brand.primaryBackground,
684
+ card: theme.ColorPalette.brand.primary,
685
+ text: theme.ColorPalette.grayscale.white,
686
+ border: theme.ColorPalette.grayscale.white,
687
+ notification: theme.ColorPalette.grayscale.white
688
+ }
689
+ };
690
+ }
691
+ export const NavigationTheme = createNavigationTheme({
692
+ ColorPalette
693
+ });
694
+
695
+ /**
696
+ * Creates a home theme based on the provided color pallet and text theme.
697
+ *
698
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
699
+ * @returns {*} {IHomeTheme} - The created home theme
700
+ */
701
+ export function createHomeTheme(theme) {
702
+ return StyleSheet.create({
703
+ welcomeHeader: {
704
+ ...theme.TextTheme.headingOne
705
+ },
706
+ credentialMsg: {
707
+ ...theme.TextTheme.normal
708
+ },
709
+ notificationsHeader: {
710
+ ...theme.TextTheme.headingThree
711
+ },
712
+ noNewUpdatesText: {
713
+ ...theme.TextTheme.normal,
714
+ color: theme.ColorPalette.notification.infoText
715
+ },
716
+ link: {
717
+ ...theme.TextTheme.normal,
718
+ color: theme.ColorPalette.brand.link
719
+ }
720
+ });
721
+ }
722
+ export const HomeTheme = createHomeTheme({
723
+ ColorPalette,
724
+ TextTheme
725
+ });
726
+
727
+ /**
728
+ * Creates a settings theme based on the provided color pallet and text theme.
729
+ *
730
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
731
+ * @returns {*} {ISettingsTheme} - The created settings theme
732
+ */
733
+ export function createSettingsTheme(theme) {
734
+ const settingsTheme = StyleSheet.create({
735
+ groupHeader: {
736
+ ...theme.TextTheme.normal,
737
+ marginBottom: 8
738
+ },
739
+ text: {
740
+ ...theme.TextTheme.caption,
741
+ color: theme.ColorPalette.grayscale.white
742
+ }
743
+ });
744
+ return {
745
+ ...settingsTheme,
746
+ groupBackground: theme.ColorPalette.brand.secondaryBackground,
747
+ iconColor: theme.ColorPalette.brand.text
748
+ };
749
+ }
750
+ export const SettingsTheme = createSettingsTheme({
751
+ ColorPalette,
752
+ TextTheme
753
+ });
754
+
755
+ /**
756
+ * Creates a chat theme based on the provided color pallet and text theme.
757
+ *
758
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
759
+ * @returns {*} {IChatTheme} - The created chat theme
760
+ */
761
+ export function createChatTheme(theme) {
762
+ const textStyles = StyleSheet.create({
763
+ timeStyleLeft: {
764
+ color: theme.ColorPalette.grayscale.lightGrey,
765
+ fontSize: 12,
766
+ marginTop: 8
767
+ },
768
+ timeStyleRight: {
769
+ color: theme.ColorPalette.grayscale.lightGrey,
770
+ fontSize: 12,
771
+ marginTop: 8
772
+ },
773
+ leftText: {
774
+ color: theme.ColorPalette.brand.secondary,
775
+ fontSize: theme.TextTheme.normal.fontSize
776
+ },
777
+ leftTextHighlighted: {
778
+ ...theme.TextTheme.bold,
779
+ color: theme.ColorPalette.brand.secondary
780
+ },
781
+ rightText: {
782
+ color: theme.ColorPalette.brand.secondary,
783
+ fontSize: theme.TextTheme.normal.fontSize
784
+ },
785
+ rightTextHighlighted: {
786
+ ...theme.TextTheme.bold,
787
+ color: theme.ColorPalette.brand.secondary
788
+ },
789
+ inputText: {
790
+ lineHeight: undefined,
791
+ fontWeight: '500',
792
+ fontSize: theme.TextTheme.normal.fontSize
793
+ },
794
+ openButtonTextStyle: {
795
+ fontSize: theme.TextTheme.normal.fontSize,
796
+ fontWeight: 'bold',
797
+ textAlign: 'center'
798
+ },
799
+ documentIcon: {
800
+ color: theme.ColorPalette.grayscale.white
801
+ }
802
+ });
803
+ const viewStyles = StyleSheet.create({
804
+ containerStyle: {
805
+ marginBottom: 16,
806
+ marginLeft: 16,
807
+ marginRight: 16,
808
+ flexDirection: 'column',
809
+ alignItems: 'flex-start',
810
+ alignSelf: 'flex-end'
811
+ },
812
+ leftBubble: {
813
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground,
814
+ borderRadius: 4,
815
+ padding: 16,
816
+ marginLeft: 16
817
+ },
818
+ rightBubble: {
819
+ backgroundColor: theme.ColorPalette.brand.primaryLight,
820
+ borderRadius: 4,
821
+ padding: 16,
822
+ marginRight: 16
823
+ },
824
+ sendContainer: {
825
+ marginBottom: 4,
826
+ paddingHorizontal: 4,
827
+ justifyContent: 'center'
828
+ },
829
+ openButtonStyle: {
830
+ borderRadius: 32,
831
+ backgroundColor: theme.ColorPalette.brand.primary,
832
+ paddingTop: 8,
833
+ paddingBottom: 8,
834
+ paddingLeft: 16,
835
+ paddingRight: 16,
836
+ marginTop: 16
837
+ },
838
+ documentIconContainer: {
839
+ backgroundColor: theme.ColorPalette.brand.primary,
840
+ alignSelf: 'flex-start',
841
+ borderRadius: 4,
842
+ marginBottom: 16,
843
+ justifyContent: 'center',
844
+ alignItems: 'center',
845
+ width: 50,
846
+ height: 50
847
+ },
848
+ inputToolbar: {
849
+ backgroundColor: theme.ColorPalette.brand.secondary,
850
+ shadowColor: theme.ColorPalette.brand.primaryDisabled,
851
+ borderRadius: 10
852
+ }
853
+ });
854
+ return {
855
+ ...textStyles,
856
+ ...viewStyles,
857
+ placeholderText: theme.ColorPalette.grayscale.lightGrey,
858
+ sendEnabled: theme.ColorPalette.brand.primary,
859
+ sendDisabled: theme.ColorPalette.brand.primaryDisabled,
860
+ options: theme.ColorPalette.brand.primary,
861
+ optionsText: theme.ColorPalette.grayscale.black
862
+ };
863
+ }
864
+ export const ChatTheme = createChatTheme({
865
+ ColorPalette,
866
+ TextTheme
867
+ });
868
+
869
+ /**
870
+ * Creates an onboarding theme based on the provided color pallet and text theme.
871
+ *
872
+ * @param {{ ColorPalette: IColorPalette; TextTheme: ITextTheme }} theme - The theme object containing the color pallet and text theme
873
+ * @returns {*} {IOnboardingTheme} - The created onboarding theme
874
+ */
875
+ export function createOnboardingTheme(theme) {
876
+ const textStyles = StyleSheet.create({
877
+ pagerDot: {
878
+ borderColor: theme.ColorPalette.brand.primary
879
+ },
880
+ pagerDotActive: {
881
+ color: theme.ColorPalette.brand.primary
882
+ },
883
+ pagerDotInactive: {
884
+ color: theme.ColorPalette.brand.secondary
885
+ },
886
+ pagerNavigationButton: {
887
+ color: theme.ColorPalette.brand.primary,
888
+ fontWeight: 'bold',
889
+ fontSize: 18
890
+ },
891
+ headerText: {
892
+ ...theme.TextTheme.bold
893
+ },
894
+ bodyText: {
895
+ ...theme.TextTheme.normal
896
+ }
897
+ });
898
+ const viewStyles = StyleSheet.create({
899
+ container: {
900
+ backgroundColor: theme.ColorPalette.brand.primaryBackground
901
+ },
902
+ carouselContainer: {
903
+ backgroundColor: theme.ColorPalette.brand.primaryBackground
904
+ }
905
+ });
906
+ return {
907
+ ...textStyles,
908
+ ...viewStyles,
909
+ headerTintColor: ColorPalette.grayscale.white,
910
+ imageDisplayOptions: {
911
+ fill: ColorPalette.notification.infoText
912
+ }
913
+ };
914
+ }
915
+ export const OnboardingTheme = createOnboardingTheme({
916
+ ColorPalette,
917
+ TextTheme
918
+ });
919
+
920
+ /**
921
+ * Creates a dialog theme based on the provided color pallet.
922
+ *
923
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
924
+ * @returns {*} {IDialogTheme} - The created dialog theme
925
+ */
926
+ export function createDialogTheme(theme) {
927
+ return StyleSheet.create({
928
+ modalView: {
929
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground
930
+ },
931
+ titleText: {
932
+ color: theme.ColorPalette.grayscale.white
933
+ },
934
+ description: {
935
+ color: theme.ColorPalette.grayscale.white
936
+ },
937
+ closeButtonIcon: {
938
+ color: theme.ColorPalette.grayscale.white
939
+ },
940
+ carouselButtonText: {
941
+ color: theme.ColorPalette.grayscale.white
942
+ }
943
+ });
944
+ }
945
+ export const DialogTheme = createDialogTheme({
946
+ ColorPalette
947
+ });
948
+ export function createLoadingTheme(theme) {
949
+ return {
950
+ backgroundColor: theme.ColorPalette.brand.modalPrimaryBackground
951
+ };
952
+ }
953
+ export const LoadingTheme = createLoadingTheme({
954
+ ColorPalette
955
+ });
956
+
957
+ // NOTE: If ColorPalette or TextTheme is needed in this theme,
958
+ // we can convert this to a function like the others.
772
959
  const PINEnterTheme = {
773
960
  image: {
774
961
  alignSelf: 'center',
775
962
  marginBottom: 20
776
963
  }
777
964
  };
778
- const PINInputTheme = {
779
- cell: {
780
- backgroundColor: ColorPallet.brand.secondaryBackground,
781
- borderColor: ColorPallet.brand.secondary,
782
- borderWidth: 1
783
- },
784
- focussedCell: {
785
- borderColor: ColorPallet.brand.headerIcon
786
- },
787
- cellText: {
788
- color: ColorPallet.brand.text
789
- },
790
- icon: {
791
- color: ColorPallet.brand.headerIcon
792
- },
793
- codeFieldRoot: {
794
- justifyContent: 'flex-start',
795
- alignItems: 'center'
796
- },
797
- labelAndFieldContainer: {
798
- flexDirection: 'row',
799
- borderRadius: 5,
800
- paddingHorizontal: 12,
801
- paddingVertical: 4,
802
- alignItems: 'center',
803
- backgroundColor: ColorPallet.brand.secondaryBackground,
804
- borderColor: ColorPallet.brand.secondary,
805
- borderWidth: 1
806
- }
807
- };
965
+ /**
966
+ * Creates a theme for PIN input based on the provided color pallet.
967
+ *
968
+ * @param {{ ColorPalette: IColorPalette }} theme - The theme object containing the color pallet
969
+ * @returns {*} {IPINInputTheme} - The created PIN input theme
970
+ */
971
+ export function createPINInputTheme(theme) {
972
+ const textStyles = StyleSheet.create({
973
+ cellText: {
974
+ color: theme.ColorPalette.brand.text
975
+ },
976
+ icon: {
977
+ color: theme.ColorPalette.brand.headerIcon
978
+ }
979
+ });
980
+ const viewStyles = StyleSheet.create({
981
+ cell: {
982
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground,
983
+ borderColor: theme.ColorPalette.brand.secondary,
984
+ borderWidth: 1
985
+ },
986
+ focussedCell: {
987
+ borderColor: theme.ColorPalette.brand.headerIcon
988
+ },
989
+ codeFieldRoot: {
990
+ justifyContent: 'flex-start',
991
+ alignItems: 'center'
992
+ },
993
+ labelAndFieldContainer: {
994
+ flexDirection: 'row',
995
+ borderRadius: 5,
996
+ paddingHorizontal: 12,
997
+ paddingVertical: 4,
998
+ alignItems: 'center',
999
+ backgroundColor: theme.ColorPalette.brand.secondaryBackground,
1000
+ borderColor: theme.ColorPalette.brand.secondary,
1001
+ borderWidth: 1
1002
+ }
1003
+ });
1004
+ return {
1005
+ ...textStyles,
1006
+ ...viewStyles
1007
+ };
1008
+ }
1009
+ export const PINInputTheme = createPINInputTheme({
1010
+ ColorPalette
1011
+ });
808
1012
  const CredentialCardShadowTheme = {
809
1013
  shadowColor: '#000',
810
1014
  shadowOffset: {
@@ -816,7 +1020,7 @@ const CredentialCardShadowTheme = {
816
1020
  const SelectedCredTheme = {
817
1021
  borderWidth: 5,
818
1022
  borderRadius: 15,
819
- borderColor: ColorPallet.semantic.focus
1023
+ borderColor: ColorPalette.semantic.focus
820
1024
  };
821
1025
  export const Assets = {
822
1026
  svg: {
@@ -898,20 +1102,33 @@ export const Assets = {
898
1102
  }
899
1103
  }
900
1104
  };
901
- const InputInlineMessage = {
902
- inlineErrorText: {
903
- ...TextTheme.inlineErrorText
904
- },
905
- InlineErrorIcon: Assets.svg.iconError,
906
- inlineWarningText: {
907
- ...TextTheme.inlineWarningText
908
- },
909
- InlineWarningIcon: Assets.svg.iconWarning
910
- };
1105
+
1106
+ /**
1107
+ * Creates a theme for inline messages in inputs based on the provided text theme and assets.
1108
+ *
1109
+ * @param {{ TextTheme: ITextTheme; Assets: IAssets }} theme - The theme object containing the text theme and assets
1110
+ * @return {*} {IInlineInputMessage} - The created inline input message theme
1111
+ */
1112
+ export function createInputInlineMessageTheme(theme) {
1113
+ return {
1114
+ inlineErrorText: {
1115
+ ...theme.TextTheme.inlineErrorText
1116
+ },
1117
+ InlineErrorIcon: theme.Assets.svg.iconError,
1118
+ inlineWarningText: {
1119
+ ...theme.TextTheme.inlineWarningText
1120
+ },
1121
+ InlineWarningIcon: theme.Assets.svg.iconWarning
1122
+ };
1123
+ }
1124
+ export const InputInlineMessage = createInputInlineMessageTheme({
1125
+ TextTheme,
1126
+ Assets
1127
+ });
911
1128
  export const bifoldTheme = {
912
1129
  themeName: 'bifold',
913
1130
  Spacing,
914
- ColorPallet,
1131
+ ColorPalette,
915
1132
  TextTheme,
916
1133
  InputInlineMessage,
917
1134
  Inputs,
@@ -936,4 +1153,6 @@ export const bifoldTheme = {
936
1153
  Assets
937
1154
  };
938
1155
  export const themes = [bifoldTheme];
1156
+
1157
+ // Backwards compatible exports
939
1158
  //# sourceMappingURL=theme.js.map