Skip to content

feat(postcss): add @unocss !<layer-name> to exclude a layer#4698

Merged
zyyv merged 6 commits intounocss:mainfrom
songpola:feat-postcss-exclude
Jun 7, 2025
Merged

feat(postcss): add @unocss !<layer-name> to exclude a layer#4698
zyyv merged 6 commits intounocss:mainfrom
songpola:feat-postcss-exclude

Conversation

@songpola
Copy link
Contributor

Close #4697

@songpola songpola requested review from antfu and zyyv as code owners May 31, 2025 09:51
@netlify
Copy link

netlify bot commented May 31, 2025

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 802a3ef
🔍 Latest deploy log https://app.netlify.com/projects/unocss/deploys/6843fb900cad290008a520a5
😎 Deploy Preview https://deploy-preview-4698--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 project configuration.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 3, 2025

Open in StackBlitz

commit: 802a3ef

@zyyv
Copy link
Member

zyyv commented Jun 3, 2025

Would you like to add some tests?

@songpola
Copy link
Contributor Author

songpola commented Jun 3, 2025

I haven't written test before, but I will try.

@songpola
Copy link
Contributor Author

songpola commented Jun 3, 2025

@zyyv I have added the test. Is it ok?

@zyyv zyyv added this pull request to the merge queue Jun 7, 2025
Merged via the queue into unocss:main with commit bd9c968 Jun 7, 2025
11 checks passed
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.

PostCSS: At-rule to exclude layers (@unocss !<layer-name>)

2 participants