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 remove !important on CSS variable declarations #16668

Merged
merged 3 commits into from
Feb 19, 2025
Merged

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Feb 19, 2025

This PR fixes an issue where !important is added to declarations that define CSS variables. The !important should only be added to the other declarations.

Before:

.ease-out\! {
  --tw-ease: var(--ease-out) !important;
  transition-timing-function: var(--ease-out) !important;
}

After:

.ease-out\! {
  --tw-ease: var(--ease-out);
  transition-timing-function: var(--ease-out) !important;
}

Fixes: #16664

@RobinMalfait RobinMalfait enabled auto-merge (squash) February 19, 2025 17:18
@RobinMalfait RobinMalfait merged commit b9af722 into main Feb 19, 2025
5 checks passed
@RobinMalfait RobinMalfait deleted the fix/issue-16664 branch February 19, 2025 17:20
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.

Important modifier with transition utilities like ease-out! got error
2 participants