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

Include --default-transition-* variables in transition-* utility output #14482

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

adamwathan
Copy link
Member

Fixes #14479.

Back in March we made a change to the transition-* utilities that inlined the values of the --default-transition-* variables to fix a bug where things would break if those variables didn't exist in your CSS. At the time though we weren't outputting CSS variables as part of the values of any utilities, for example bg-red-500 didn't actually reference the --color-red-500 variable.

We later changed that but missed this situation, so these variables were still inlined even though nothing else was.

This PR fixes that and makes things more consistent, so these variables will be used as expected unless using the @theme inline option, like with everything else.

@adamwathan adamwathan merged commit 0daaaeb into next Sep 20, 2024
3 checks passed
@adamwathan adamwathan deleted the fix/14479 branch September 20, 2024 16:40
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.

[v4] Transition properties are not included in utility CSS classes
1 participant