-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Converted all the css into Tailwind css of Badge component #1739
Converted all the css into Tailwind css of Badge component #1739
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
2 flaky tests on run #4442 ↗︎
Details:
hashlink.spec.js • 1 flaky test • all tests
modal.spec.js • 1 flaky test • all tests
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
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.
almost done here
After you finish this PR, perhaps you could integrate Tailwind into our Storybook instance? I forgot about the need to do that! |
Co-authored-by: Kyle Holmberg <inbox@kylemh.com>
Okay cool, in the same way I have to do that in stodybook components right? |
There shouldn't be any CSS modules to convert in Storybook, it's just adjusting the Storybook config so Tailwind is part of its build process. Right now, storybook has no idea what |
Okay got it. |
I will as soon as I can! I need to resolve an issue that's visible on this PR's preview deployments on the There's nothing you need to do in this PR more though! |
Alright! |
…l-styling-with-Tailwind
Code Climate has analyzed commit d371d87 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (90% is the threshold). This pull request will bring the total coverage in the repository to 75.8% (0.0% change). View more on Code Climate. |
So, @subhajit20 I noticed a problem that you'll need to be aware of... We've defined the element with the ID The downside to this approach is that we need to fixes like this to all the places USING a component we do a Tailwind update to. It's lame, but at least it's formulaic and simple. We could not do The benefit of changing the CSS modules files is that it's temporary, since our end goal has us deleting CSS modules files and the "winner" going forward will just be whatever classname was applied last (ideal for us). Anyways... to look out for this, you'll want to leverage the "find all references" action in VS Code: For every component that you work on, you'll want to look for usages, find the page they're rendered on, look at the page and compare the same UI to prod, and either update Tailwind all the way through to the implementation level OR do the fix I recommended above. |
Okay will check it |
Description of changes
Converted all the css into Tailwind css of Badge component
Issue - #1725
Issue Resolved
Fixes #NA
Screenshots/GIFs