Skip to content

fix(tailwind): resolve custom classNames recognition#111

Open
heydoyouknowme0 wants to merge 1 commit intomainfrom
fix/taiwind-classes
Open

fix(tailwind): resolve custom classNames recognition#111
heydoyouknowme0 wants to merge 1 commit intomainfrom
fix/taiwind-classes

Conversation

@heydoyouknowme0
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Mar 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nksm ✅ Ready (Inspect) Visit Preview Mar 28, 2025 6:41am

@heydoyouknowme0 heydoyouknowme0 linked an issue Mar 28, 2025 that may be closed by this pull request
@heydoyouknowme0 heydoyouknowme0 requested review from aryansri-19, Copilot and geekysilento and removed request for aryansri-19 and Copilot March 28, 2025 06:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes Tailwind custom classNames recognition by consolidating multiple styling props into a unified "classNames" object and updating related imports. It also removes obsolete constants and reorders or cleans up imports to ensure consistency.

  • Updated the category type definition in types/index.ts.
  • Removed the deprecated constants/categories.ts file.
  • Adjusted imports and updated component props usage in MobileFilter.tsx, Filter.tsx, Categories components, and CategoriesDrawer.tsx.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
types/index.ts Renamed type "category" to "Category" and consolidated style props.
constants/categories.ts Removed obsolete file in favor of inline category definitions.
app/components/Search/MobileFilter.tsx Updated imports and references to use the new categories source.
app/components/Search/Filter.tsx Adjusted import order and references consistently.
app/components/HomePage/Categories/index.tsx Defined categories inline using the new "classNames" structure.
app/components/HomePage/Categories/categoryCard.tsx Updated component props to utilize the unified "classNames" object.
app/components/BottomNav/CategoriesDrawer.tsx Updated import reference to leverage the new categories definition.

@heydoyouknowme0
Copy link
Contributor Author

wen merge

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.

Tailwind classes won't compile

2 participants