Skip to content

Conversation

@adamwathan
Copy link
Member

This PR updates all areas in the framework that accept opacity values (opacity-*, backdrop-opacity-*, bg-red-500/*, etc.) to accept fractional values in increments of 0.25 instead of just whole numbers.

We noticed we use values like 2.5 and 7.5 pretty regularly in our templates and don't see why those should be treated as any more "weird" than something like opacity-63 which we already support, so baking this in to core.

IntelliSense will still only suggest values in increments of 5 like it did before.

@adamwathan adamwathan requested a review from a team as a code owner November 12, 2024 16:53
@adamwathan adamwathan merged commit 5ce575a into next Nov 12, 2024
1 check passed
@adamwathan adamwathan deleted the feat/support-fractional-opacity-values branch November 12, 2024 19:04
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