Skip to content

Conversation

GeoffSelby
Copy link
Contributor

This commit adds a disabled variant to the Tailwind core. Not sure if/where this would be used by default.

This will allow devs to add styling for disabled elements the same way we use other variants like hover and focus.

<button class="bg-blue disabled:bg-grey-lighter">Disabled</button>

I noticed @adamwathan listed this small feature in #692. Maybe this solves that.

This commit adds a `disabled` variant to the Tailwind core. Not sure if/where this would be used by default.
@adamwathan adamwathan merged commit 5080129 into tailwindlabs:master Jul 10, 2019
@adamwathan
Copy link
Member

Thanks @GeoffSelby!

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.

2 participants