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

Transition times in CSS variable #141

Open
raphaelbastide opened this issue May 30, 2024 · 2 comments
Open

Transition times in CSS variable #141

raphaelbastide opened this issue May 30, 2024 · 2 comments

Comments

@raphaelbastide
Copy link

The default transition times are currently written for each CSS rule. 0.4s is repeated several times.
If this value is set as a CSS variable, it could be easily overwritten by user’s stylesheet like so:

:root{
  --chocolat-transition-time: 0.2s;
} 
@nicolas-t
Copy link
Owner

Hello,

Thank you for your suggestion, it's a good idea.
Would you be interested in making a pull request ?

Thanks

@raphaelbastide
Copy link
Author

Yes, I’ll do that soon.

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

No branches or pull requests

2 participants