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

Inter Semibold wrong 400 weight #23

Closed
pws-pm opened this issue Apr 11, 2024 · 6 comments
Closed

Inter Semibold wrong 400 weight #23

pws-pm opened this issue Apr 11, 2024 · 6 comments

Comments

@pws-pm
Copy link

pws-pm commented Apr 11, 2024

Hi Everybody,
I got an issue with the Inter Semibold font that should be exported in weight 600 but in the JSON is weight 400, just like the regular weight.

Thanks,
Luigi.

correct wrong
@JeroenRoodIHS
Copy link
Contributor

The issue will be solved by this PR: #20

The problem was caused by case-sensitivity regarding the font weight names.

@PavelLaptev
Copy link
Collaborator

@JeroenRoodIHS thanks for the PR.
@pws-pm I've just published a new version

@pws-pm
Copy link
Author

pws-pm commented Apr 15, 2024

Screenshot 2024-04-15 at 10 33 35
@PavelLaptev
Thanks for the new version, however, I tried to re-run the plugin and I still see the issue. Am I doing something wrong? thanks!

@PavelLaptev
Copy link
Collaborator

Thanks for the report @pws-pm
I'll check it out

@PavelLaptev
Copy link
Collaborator

@pws-pm fixed :-)
the problem was that Figma return the font-weight for inter like this semi bold so I added a regex to concat words.

@pws-pm
Copy link
Author

pws-pm commented Apr 16, 2024

Amazing, thanks!

@pws-pm pws-pm closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants