Skip to content

Configured Tailwindcss#18

Merged
ayshadogo merged 3 commits intoDfunder:mainfrom
SudiptaPaul-31:fix-configure-tailwindcss
Mar 2, 2026
Merged

Configured Tailwindcss#18
ayshadogo merged 3 commits intoDfunder:mainfrom
SudiptaPaul-31:fix-configure-tailwindcss

Conversation

@SudiptaPaul-31
Copy link
Copy Markdown
Contributor

@SudiptaPaul-31 SudiptaPaul-31 commented Mar 2, 2026

🚀 Configure TailwindCSS with Custom Theme

📌 Overview

This PR sets up TailwindCSS v4 as the primary styling framework for the project and configures a custom design theme.

The setup ensures consistent styling, scalable utility-first development, and proper dependency management.


resolves #5

✅ Changes Made

🔹 Tailwind Setup

  • Installed tailwindcss, @tailwindcss/postcss, postcss, and autoprefixer
  • Configured postcss.config.js for Tailwind v4
  • Added @import "tailwindcss"; in src/index.css
  • Verified Tailwind integration with Vite

🔹 Custom Theme Configuration

Updated tailwind.config.js with:

  • primary color → #0F172A
  • accent color → #6366F1
  • Poppins as the default font family

🔹 Plugins Added

  • @tailwindcss/forms
  • @tailwindcss/typography

🔹 Global Styling

  • Added base reset styles
  • Integrated Google Fonts (Poppins)
  • Ensured Tailwind utilities work across all components and routes

🔹 Dependency Management

  • Committed package-lock.json to ensure consistent dependency versions across environments

🧪 Acceptance Criteria

  • Tailwind utility classes work in all components
  • Custom theme tokens (primary, accent, font-poppins) are accessible
  • Forms and typography plugins are functional
  • Project runs successfully with npm run dev

📷 Verification

Tailwind styling confirmed in development environment (localhost:5173).


🎯 Result

The project now uses a scalable, modern TailwindCSS setup with a centralized design system foundation.

@ayshadogo
Copy link
Copy Markdown
Contributor

Hii @SudiptaPaul-31 Please fix the Lint workflow
thank you

@SudiptaPaul-31
Copy link
Copy Markdown
Contributor Author

@ayshadogo Lint fixed
Please Check

@ayshadogo
Copy link
Copy Markdown
Contributor

Nice work @SudiptaPaul-31

Thank you for your contribution

@ayshadogo ayshadogo closed this Mar 2, 2026
@ayshadogo ayshadogo reopened this Mar 2, 2026
@ayshadogo ayshadogo merged commit 48b1999 into Dfunder:main Mar 2, 2026
3 checks passed
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.

Configure TailwindCSS

2 participants