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

Add web transition styles in interactive components #5403

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hichemfantar
Copy link

@hichemfantar hichemfantar commented Sep 18, 2024

This pull request refactors the transition styles in the button components. It adds transition properties for all button variants and adjusts the transition duration. This improves the visual transition effects when interacting with buttons.

transition settings are from the recommended tailwind styles

suggestion: perhaps it would be a good idea to add this transition config as a reusable atom?

demo:

Screen.Recording.2024-09-18.at.11.56.14.AM.mp4
Screen.Recording.2024-09-18.at.11.55.49.AM.mp4
Screen.Recording.2024-09-18.at.11.55.26.AM.mp4
Screen.Recording.2024-09-18.at.11.54.53.AM.mp4
Screen.Recording.2024-09-18.at.11.54.09.AM.mp4

@hichemfantar hichemfantar changed the title Add web transition styles in button components Add web transition styles in interactive components Sep 18, 2024
@estrattonbailey
Copy link
Member

Hey! Really appreciate your work here. We have some plans to integrate button animation styles across the app, so I can't guarantee we'll be able to merge this, but I'm going to leave it open for now as a reference. Thanks again!

@hichemfantar
Copy link
Author

@estrattonbailey sounds good to me!

@hichemfantar
Copy link
Author

hichemfantar commented Nov 25, 2024

perhaps also consider enabling smooth scrolling when hitting the scroll to top button in the feed

940fc0e

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