MetaMask / MetaMask/metamask-mobile
[MOB]: Add Font Family Default, Hero, and Accent to Text component
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### What is this about?
Add `FontFamily` prop to Text with the following options:
- Default - CentraNo1
- Accent - MMSans
- Hero - MMPoly
Ensure these changes are applied across the application and verify consistency in design components.
### **References**
- N/A (Provide any relevant design documentation or links if available)
### Scenario
_No response_
### Design
_No response_
### Technical Details
Add `FontFamily` prop to Text with the following options:
- Default - CentraNo1
- Accent - MMSans
- Hero - MMPoly
### Threat Modeling Framework
_No response_
### Acceptance Criteria
- Updated typography values are reflected in the codebase.
- Design consistency is maintained across UI elements.
- No regressions in text alignment, readability, or layout structure.
### Stakeholder review needed before the work gets merged
- [x] Engineering (needed in most cases)
- [x] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)
### References
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.