镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix remove !important on CSS variable declarations - #16668

Merged
RobinMalfait merged 3 commits into
mainfrom
fix/issue-16664
Feb 19, 2025
Merged

RobinMalfait merged 3 commits into
mainfrom
fix/issue-16664

Conversation

@RobinMalfait

@RobinMalfait RobinMalfait commented Feb 19, 2025 •

Copy link
Copy Markdown
Contributor

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
@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