Styling Architecture
The styling system consists of:- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Re-usable component library
- CSS Variables - Dynamic theming with HSL colors
- Dark Mode - Built-in dark mode support
Tailwind Configuration
Understanding the Tailwind config
The Tailwind configuration is located in
tailwind.config.ts:tailwind.config.ts
All colors reference CSS variables, making theme customization simple and consistent.
Color Customization
Creating a Custom Theme
To create a custom brand theme, modify the HSL values:Using Colors in Components
Reference the color variables using Tailwind classes:shadcn/ui Configuration
TaskForge Studio uses shadcn/ui components configured incomponents.json:
components.json
Change Component Style
You can switch between “default” and “new-york” styles:Change Base Color
Available base colors:slate, gray, zinc, neutral, stone
Border Radius Customization
Adjust the global border radius:app/globals.css
rounded-lg=var(--radius)rounded-md=calc(var(--radius) - 2px)rounded-sm=calc(var(--radius) - 4px)
Dark Mode Implementation
Custom Animations
The Tailwind config includes custom animations for accordions. Add your own:tailwind.config.ts
Utility Class: cn()
TaskForge Studio uses acn() utility for conditional classes in lib/utils.ts:
lib/utils.ts
Font Customization
TaskForge Studio uses Inter font from Google Fonts. To change the font:app/layout.tsx
Best Practices
Component variants: Create component variants using the
cn() utility to keep your styling logic clean and maintainable.Responsive Design
Tailwind provides responsive utilities. The container is already configured:tailwind.config.ts
Next Steps
- Learn about Authentication to customize auth UI
- Explore Real-time Sync to style collaborative features