From 3a2ba36addf304cf1b9bee92d3c42239cdf3b2ac Mon Sep 17 00:00:00 2001 From: Barnabas Nsoh Date: Fri, 26 Jan 2024 14:49:29 +0000 Subject: [PATCH 1/2] Use new typography --- .../document-instructions/src/DocumentInstruction.js | 4 ++-- packages/components/selfie-capture/SelfieCapture.js | 2 +- packages/components/selfie-capture/SelfieInstruction.js | 5 ++++- packages/components/selfie-capture/SelfieReview.js | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/components/document-capture/document-instructions/src/DocumentInstruction.js b/packages/components/document-capture/document-instructions/src/DocumentInstruction.js index 9a37af36..14537727 100644 --- a/packages/components/document-capture/document-instructions/src/DocumentInstruction.js +++ b/packages/components/document-capture/document-instructions/src/DocumentInstruction.js @@ -3,7 +3,6 @@ import styles from '../../../styles'; function templateString() { return ` - ${styles}
${this.showNavigation @@ -77,7 +76,7 @@ function templateString() { -

${this.title}

+

${this.title}

We'll use it to verify your identity.

@@ -286,6 +285,7 @@ function templateString() { ${this.hideAttribution ? '' : ''}
+ ${styles} `; } diff --git a/packages/components/selfie-capture/SelfieCapture.js b/packages/components/selfie-capture/SelfieCapture.js index 5c7678f3..78f58da9 100644 --- a/packages/components/selfie-capture/SelfieCapture.js +++ b/packages/components/selfie-capture/SelfieCapture.js @@ -526,7 +526,7 @@ function templateString() { ` : ''} -

Take a Selfie

+

Take a Selfie

diff --git a/packages/components/selfie-capture/SelfieInstruction.js b/packages/components/selfie-capture/SelfieInstruction.js index 6a45fef1..50265844 100644 --- a/packages/components/selfie-capture/SelfieInstruction.js +++ b/packages/components/selfie-capture/SelfieInstruction.js @@ -1,3 +1,5 @@ +import styles from "../styles"; + function templateString() { return ` @@ -305,6 +307,7 @@ function templateString() { font-weight: 700; } + ${styles}
${this.showNavigation ? `