Migrate to tailwindcss for styling - #2
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
This pull request migrates the application’s styling system from SCSS modules to Tailwind CSS utility classes. It removes all SCSS files, replaces their usage with Tailwind classes throughout the codebase, and updates configuration files to support Tailwind and related tools. Several new dependencies are added, and component code is refactored to use utility-based styling for improved maintainability and consistency.
Styling System Migration
Sidebar,CountryCardsGrid,CountryCard,ProgressBar,Title,Button,Card,Modal) have been refactored to use Tailwind classes instead of SCSS module imports. [1] [2] [3] [4] [5] [6] [7] [8] [9]Configuration and Dependency Updates
@tailwindcss/vite,clsx,tailwind-merge) have been added topackage.jsondependencies.eslint.config.jsandprettier.config.jsto support linting and formatting of Tailwind classes and stylesheets. [1] [2]Project Structure and Imports
src/App.tsxis updated to use the new Tailwind-basedglobals.cssinstead of the removed SCSS file.cnfor class name composition) are now used in place of SCSS module class name references in all relevant components. [1] [2] [3]These changes modernize the styling approach, streamline the codebase, and make it easier to maintain and extend UI styles going forward.