Skip to content

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