figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

fix typography vars

Open six7 opened this issue 1 year ago • 1 comments

Why does this PR exist?

Fixes https://github.com/tokens-studio/figma-plugin/issues/2713

Typography styles werent created with the proper variables

What does this pull request do?

Makes sure we load font async before we try to apply the variable as that's required.

Testing this change

Test the file in the issue and try to follow reproduction steps

Before

CleanShot 2024-04-30 at 23 52 51@2x

After

image

six7 avatar Apr 30 '24 21:04 six7

⚠️ No Changeset found

Latest commit: f77e3ac78c824acbc6efd22e48d9829b879cda34

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Apr 30 '24 21:04 changeset-bot[bot]