8000 feat(preset-wind4): add `noscript` & `scripting` variant in Tailwind 4.1 by OverflowCat · Pull Request #4637 · unocss/unocss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(preset-wind4): add noscript & scripting variant in Tailwind 4.1 #4637

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

Merged
merged 3 commits into from
May 8, 2025

Conversation

OverflowCat
Copy link
Contributor

https://tailwindcss.com/blog/tailwindcss-v4-1#new-noscript-variant

Not adding it into the mini preset, as there are 3 values of the media feature. Do we need to support all of them?

The scripting feature is specified as a keyword value chosen from the list below.

none
Scripting is completely unavailable on the current document.

initial-only
Scripting is enabled during the initial page load, but not afterwards.

enabled
Scripting is supported and active on the current document.

@OverflowCat OverflowCat requested review from antfu and zyyv as code owners May 5, 2025 15:36
Copy link
netlify bot commented May 5, 2025

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1627d0c
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/681c7121c2e6b00008d784c3
😎 Deploy Preview https://deploy-preview-4637--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.

Copy link
pkg-pr-new bot commented May 5, 2025

Open in StackBlitz

commit: 9e9e1bc

@zyyv
Copy link
Member
zyyv commented May 6, 2025

Do we need to support all of them?

@OverflowCat We can support all, but the default is align with tailwind when no value is given. Default is scripting: none

@OverflowCat
Copy link
Contributor Author
OverflowCat commented May 6, 2025 via email

@zyyv zyyv enabled auto-merge May 8, 2025 08:55
@zyyv zyyv changed the title feat(preset-wind4): add noscript variant in Tailwind 4.1 feat(preset-wind4): add noscript & scripting variant in Tailwind 4.1 May 8, 2025
@zyyv zyyv disabled auto-merge May 8, 2025 09:17
@zyyv zyyv merged commit 11bb77e into unocss:main May 8, 2025
4 checks passed
@OverflowCat OverflowCat deleted the noscript branch May 25, 2025 02:17
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
0