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(preset-web-fonts): fix wrong weight sort #2729

Merged
merged 4 commits into from Jun 6, 2023
Merged

fix(preset-web-fonts): fix wrong weight sort #2729

merged 4 commits into from Jun 6, 2023

Conversation

zyyv
Copy link
Member

@zyyv zyyv commented Jun 6, 2023

close #2727
In the normallize stage, I deduplicated and correctly sorted the weight in advance.

This pr change just for that issue and google provider, i checked fontshare also has the sort action for weights. I'm not familiar with fontshare.

@zyyv zyyv requested a review from antfu as a code owner June 6, 2023 03:31
@netlify
Copy link

netlify bot commented Jun 6, 2023

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 865bc29
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/647f034a0ee5c100081a388f
😎 Deploy Preview https://deploy-preview-2729--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@antfu
Copy link
Member

antfu commented Jun 6, 2023

Can we have a test for it? Thanks

@zyyv
Copy link
Member Author

zyyv commented Jun 6, 2023

Can we have a test for it? Thanks

Done.

@antfu antfu merged commit 10724f3 into unocss:main Jun 6, 2023
10 checks passed
@zyyv zyyv deleted the issue/2727 branch June 11, 2023 05:51
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

Successfully merging this pull request may close these issues.

Font with a weight of 1000
2 participants