-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
⭐ v1.0Tickets needed for mobile v1.0 releaseTickets needed for mobile v1.0 release🐞 bugSomething isn't workingSomething isn't working💥 blocking📱 demo app🔍 triage🧰 library
Description
Prerequisites
- I have searched the backlog for duplicate or closed feature requests
Your test device
Iphone 14 Pro Max
OS Version
iOS 18
App version
v0.5.0
Describe the issue
There is an issue in the Design System where the lineHeight is incorrectly calculated for typography tokens.
The current formula used is:
lineHeight = Line / Size
Example: 48 / 40 = 1.2
This leads to inaccurate values across all typography tokens.
Documentation Flutter : https://api.flutter.dev/flutter/painting/TextStyle/height.html
Expected Behavior
The correct formula should be:
lineHeight = Size / Line
Example: 40 / 48 = 0.833
Example:
For the DisplayLarge token:
- Font Size: 40px
- Line Height: 48px
✅ Expected lineHeight value:
Metadata
Metadata
Assignees
Labels
⭐ v1.0Tickets needed for mobile v1.0 releaseTickets needed for mobile v1.0 release🐞 bugSomething isn't workingSomething isn't working💥 blocking📱 demo app🔍 triage🧰 library
Type
Projects
Status
Triage