thedevdojo / tails-components

The Tails Open Source Components are a (no-config) copy'n paste free collection of hand-crafted templates and components built in TailwindCSS.
https://devdojo.com/tailwindcss/components
MIT License
795 stars 371 forks source link

Improved card animation #376

Closed Posandu closed 2 years ago

Posandu commented 2 years ago

What type of PR is this? (check all applicable)

Description

Improved the card button animation because it looked boring before.

Related Tickets & Documents

None

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Link to tailwind play - https://play.tailwindcss.com/0Qj8J4yF4W

Added to documentation?

thinkverse commented 2 years ago

While this PR is an improvement to the component buttons and it looks and behaves good on play.tailwindcss.com. This change doesn't translate to devdojo.com/tailwindcss/components though.

Components should be displayed with a good representation of what the end user receives. So adding classes, transitions, and states that don't work on the platform's preview isn't a great idea. Because when the end-user copies the component it will look and behave differently than what was expected.

For that reason, this PR will be merged. 🙂