Skip to content

feat(preset-mini)!: prioritize length instead of color#3353

Merged
antfu merged 7 commits intounocss:mainfrom
chu121su12:feat/try-length
Nov 30, 2023
Merged

feat(preset-mini)!: prioritize length instead of color#3353
antfu merged 7 commits intounocss:mainfrom
chu121su12:feat/try-length

Conversation

@chu121su12
Copy link
Member

Breaking only for those who import textColors separately as a rule those who depends on using text-<color> overriding color-<x>.

@netlify
Copy link

netlify bot commented Nov 19, 2023

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 616c0af
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/656751d7fdf72a00087be16f
😎 Deploy Preview https://deploy-preview-3353--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 configuration.

@chu121su12 chu121su12 marked this pull request as ready for review November 19, 2023 05:04
@chu121su12 chu121su12 requested a review from antfu as a code owner November 19, 2023 05:04
@antfu
Copy link
Member

antfu commented Nov 19, 2023

I'll defer this to the next minor version to be sure. Before that, can you help resolving the conflicts? Thanks

@antfu antfu changed the title feat(preset-mini): prioritize length instead of color feat(preset-mini)!: prioritize length instead of color Nov 29, 2023
@antfu
Copy link
Member

antfu commented Nov 29, 2023

Could you help resolving the conflicts? Thanks

@chu121su12
Copy link
Member Author

I'm on mobile. If the test isn't passing, I'll retry later

@antfu antfu merged commit 235c377 into unocss:main Nov 30, 2023
@chu121su12 chu121su12 deleted the feat/try-length branch November 30, 2023 23:08
Comment on lines +417 to +418
.c-\$color-variable\/\$opacity-variable,
.c-\$color-variable\/10{color:var(--color-variable);}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chu121su12 , I find this is a bad css test case, miss $opacity-variable.

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.

3 participants