Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new typography #194

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import styles from '../../../styles';

function templateString() {
return `
${styles}
<div id="document-instruction-screen" class="flow center">
<section className="main">
${this.showNavigation
Expand Down Expand Up @@ -77,7 +76,7 @@ function templateString() {
</clipPath>
</defs>
</svg>
<h1>${this.title}</h1>
<h1 class='text-2xl color-digital-blue font-bold'>${this.title}</h1>
<p class="description text-sm font-normal">
We'll use it to verify your identity.
</p>
Expand Down Expand Up @@ -286,6 +285,7 @@ function templateString() {
${this.hideAttribution ? '' : '<powered-by-smile-id></powered-by-smile-id>'}
</section>
</div>
${styles}
`;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/selfie-capture/SelfieCapture.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ function templateString() {
</button>
</div>
` : ''}
<h1>Take a Selfie</h1>
<h1 class='text-2xl color-digital-blue font-bold'>Take a Selfie</h1>

<div class='section | flow'>
<div class='video-container'>
Expand Down
5 changes: 4 additions & 1 deletion packages/components/selfie-capture/SelfieInstruction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import styles from '../styles';

function templateString() {
return `
<link rel="preconnect" href="https://fonts.gstatic.com" />
Expand Down Expand Up @@ -305,6 +307,7 @@ function templateString() {
font-weight: 700;
}
</style>
${styles}
<div id="id-entry-screen" class="flow center">
${this.showNavigation ? `
<div class="nav">
Expand Down Expand Up @@ -401,7 +404,7 @@ function templateString() {
</clipPath>
</defs>
</svg>
<h1>Next, we'll take a quick selfie</h1>
<h1 class='text-2xl color-digital-blue font-bold'>Next, we'll take a quick selfie</h1>
</header>
<div class="flow">
<div class="instructions">
Expand Down
3 changes: 2 additions & 1 deletion packages/components/selfie-capture/SelfieReview.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function templateString() {
line-height: 1.5rem;
}
</style>
${styles}
<div id='id-review-screen' class='flow center'>
${this.showNavigation ? `
<div class="nav justify-right">
Expand All @@ -171,7 +172,7 @@ function templateString() {
</button>
</div>
` : ''}
<h1 class="header-title">
<h1 class="header-title text-2xl color-digital-blue font-bold">
Is you whole face visible
and clear in this photo?
</h1>
Expand Down
Loading