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

@plugin directive can't be overridden #14599

Open
fcrozatier opened this issue Oct 4, 2024 · 0 comments
Open

@plugin directive can't be overridden #14599

fcrozatier opened this issue Oct 4, 2024 · 0 comments

Comments

@fcrozatier
Copy link

Tailwind v4-alpha.26
Svelte v5-alpha.262
Node v22
Chrome v129
macOS

repo: https://github.com/fcrozatier/tailwind-media-modifiers

Issue

Hey!

This is a follow up to #14551.

The @plugin directive doesn't allow to both customize the defaults and still be able to override these modifications in one-off situations without using the !important modifier.

I have to import the prose gist instead of using the prose plugin to fix this

Overriding the @utility directive works fine on the other hand

Reproduction

pnpm i, pnpm dev. Layers and classes in src/app.css, src/routes/+page.svelte

And thank you for the awesome work on v4

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

1 participant