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

Support linear gradient angles as bare values #14707

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

adamwathan
Copy link
Member

This PR adds support for linear gradient angles as bare values, like this:

bg-linear-45 => linear-gradient(45deg, …)

We already support this for conic gradients, so this makes these utilities more consistent.

@adamwathan adamwathan requested a review from a team as a code owner October 17, 2024 17:56
@adamwathan adamwathan force-pushed the feat/linear-gradient-angles branch from 22e09ad to 14dbdeb Compare October 17, 2024 17:58
@adamwathan adamwathan merged commit 72c30d4 into next Oct 17, 2024
1 check passed
@adamwathan adamwathan deleted the feat/linear-gradient-angles branch October 17, 2024 18:29
@yeliex
Copy link

yeliex commented Oct 25, 2024

@adamwathan that is great! can we have this in v3?

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.

3 participants