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

fix: correct font weights #3159

Merged
merged 1 commit into from
Apr 21, 2022
Merged

fix: correct font weights #3159

merged 1 commit into from
Apr 21, 2022

Conversation

lukewalczak
Copy link
Member

Summary

Correct the following variants font properties:

  • labelLarge:

code:

  labelLarge: {
    ...mediumType,
    tracking: 0.1,
    lineHeight: 20,
    size: 14,
 }

documentation:
image

  • bodyLarge, bodyMedium and bodySmall:

code:

  bodyLarge: {
    ...mediumType,
    weight: '400',
    lineHeight: 24,
    size: 16,
  },
  bodyMedium: {
    ...mediumType,
    weight: '400',
    tracking: 0.25,
    lineHeight: 20,
    size: 14,
  },
  bodySmall: {
    ...mediumType,
    weight: '400',
    tracking: 0.4,
    lineHeight: 16,
    size: 12,
  },

documentation:

image

Test plan

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak merged commit 4504569 into next Apr 21, 2022
@lukewalczak lukewalczak deleted the fix/correct-typography branch April 21, 2022 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant