Commit f520f7e
authored
chore(fonts): remove remaining Geist-Bold references (#28425)
## **Description**
Starting cleanup PR for semibold migration by removing remaining static
`Geist-Bold`/`Geist-BoldItalic` references and deleting obsolete bold
font assets.
This PR:
- Replaces app-level static `Geist-Bold` usages with `Geist-SemiBold`
- Updates Veriff branding font mapping to use semibold for the `bold`
slot
- Removes `Geist-Bold.otf` and `Geist-BoldItalic.otf` from Expo font
config and native asset manifests
- Removes iOS plist/Xcode registrations for the deleted bold font files
- Deletes obsolete font files from `app/fonts`
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes: #28387
Related:
- #28363
- https://consensyssoftware.atlassian.net/browse/DSYS-664
## **Manual testing steps**
```gherkin
Feature: Semibold migration cleanup
Scenario: user views screens with emphasized text after bold asset removal
Given the app is running on this branch
When user opens Review Modal, malicious dapp warning connect flow, and Card Verify Identity flow
Then emphasized text renders with semibold typography
And no missing-font fallback appears on iOS or Android
```
## **Screenshots/Recordings**
### **Before**
N/A
### **After**
N/A
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [ ] I've included tests if applicable
- [ ] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Medium risk because it removes bundled font assets and native
registrations; any missed `Geist-Bold`/`Geist-BoldItalic` references
could cause font fallback or missing-font issues at runtime.
>
> **Overview**
> Completes the semibold migration cleanup by replacing remaining UI
usages of `Geist-Bold` with `Geist-SemiBold` (including Veriff branding
in `VerifyIdentity`, the malicious dapp connect button label, and Review
Modal header text).
>
> Removes the `Geist-Bold.otf` and `Geist-BoldItalic.otf` assets from
Expo font configuration and both Android/iOS asset manifests, and drops
the corresponding iOS Xcode project and `Info.plist` font registrations
so the bold files are no longer bundled.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
89f069d. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 6b87906 commit f520f7e
12 files changed
Lines changed: 4 additions & 36 deletions
File tree
- android
- app
- components/UI
- Card/components/Onboarding
- PermissionsSummary
- ReviewModal
- fonts
- ios
- MetaMask.xcodeproj
- MetaMask
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 4 | | |
13 | 5 | | |
14 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
212 | 210 | | |
213 | 211 | | |
214 | 212 | | |
215 | | - | |
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
| |||
246 | 243 | | |
247 | 244 | | |
248 | 245 | | |
249 | | - | |
250 | 246 | | |
251 | 247 | | |
252 | 248 | | |
| |||
431 | 427 | | |
432 | 428 | | |
433 | 429 | | |
434 | | - | |
435 | | - | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
| |||
720 | 714 | | |
721 | 715 | | |
722 | 716 | | |
723 | | - | |
724 | | - | |
725 | 717 | | |
726 | 718 | | |
727 | 719 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| |||
0 commit comments