-
-
Notifications
You must be signed in to change notification settings - Fork 810
🩹 Fix missing animations #671
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
🩹 Fix missing animations #671
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/carloscuesta/gitmoji/m9nasph3x |
Hey @johannchopin the flow error you're pointing to seems something about cache on your local environment. If you take a look at the pipeline the tests are passing, so try to stop and start the flow server and try again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! 👏🏼
Donno what to say about the |
Yes I just delete my |
Hey @johannchopin would you like some help to get this finished? |
cf2f04b
to
b5bcd3c
Compare
@carloscuesta Thanks for your help I updated your code to have an underline animation 👍 Does it look good for you? |
Yeah! It looks awesome, the underline effect is so much better ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are ready to ship this! 🚀
please, allow me to propose a change to this :D |
Sure @vhoyer! |
As I couldn't open a PR for this, for whatever reason, feel free to remove those two last commits of mine ❤️ |
I see, your solution is a little bit simpler on the code but It relies on using inline styles, I think I prefer using |
Really? Oh, danm, I mean, inline styles are not a sin, 😂 and I really prefer using inline styles to embedding them on the component, like the previous solution, but I guess this comes down to taste, so again, feel free to remove my last two commits if you two don't agree with my changes 😄 |
No problem at all! We can leave it like this, just a style preference 👍🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go! 🚀
besides, I think the major drawback of using inline-styles in general is increasing the specificity of the style without giving a way for other classes to override it, which leads to bad reusability, but when it comes to using only css-variables in the inline-style, this problem kinda fades away once, we are only registering a token for the classes to use :D EDIT: just commenting this to give a base to my line of thought haha |
Yes! That's why I think we can use the inline styles approach! It's simpler and cleaner ✨ . Not a big difference in here using classNames vs the inline defined variable so 🚀 |
We did a great collaboration in here! Thanks @vhoyer @johannchopin ❤️ 💪🏼 👏🏼 |
Description
Since the styles are pure css it's no more possible to have the previous animation for the gitmoji codes (not possible to easily have a pure css declaration for
rgba($color, .7)
). So I decided to use the same animation that the one in the gitmoji-browser-extension (animated underline on:hover
).It still in WIP since flow trigger some errors like:
So I remove the checking part to open the CR. Has someone an idea how to fix it?
Tests
Close #670