# tailwind > TailwindCSS utility-first styling and dynamic theme system for Luxia e-commerce frontend. Use when: styling React components, creating responsive layouts, implementing the dynamic theme system, working with design tokens, or building admin/storefront UI. - Author: Kakha Gelashvili - Repository: kaxuna1/ecomsite - Version: 20260124232936 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/kaxuna1/ecomsite - Web: https://mule.run/skillshub/@@kaxuna1/ecomsite~tailwind:20260124232936 --- --- name: tailwind description: | TailwindCSS utility-first styling and dynamic theme system for Luxia e-commerce frontend. Use when: styling React components, creating responsive layouts, implementing the dynamic theme system, working with design tokens, or building admin/storefront UI. allowed-tools: Read, Edit, Write, Glob, Grep, Bash --- # Tailwind Skill Luxia uses Tailwind CSS with a **dynamic theme system** where CSS variables are injected at runtime from the backend database. This enables admin-configurable themes without redeployment. The project combines static Tailwind utilities (brand colors, fonts) with dynamic CSS custom properties for theme-aware components. ## Quick Start ### Static Brand Colors ```tsx // Use brand colors defined in tailwind.config.ts
Luxury brand styling
``` ### Dynamic Theme Variables ```tsx // Use CSS variables injected by ThemeContext
Theme-aware component
``` ### Responsive Mobile-First Pattern ```tsx // Mobile-first: base → sm → md → lg → xl
Content
``` ## Key Concepts | Concept | Usage | Example | |---------|-------|---------| | Brand colors | Static theme tokens | `bg-midnight`, `text-champagne`, `border-jade` | | Theme vars | Dynamic from backend | `bg-bg-primary`, `text-text-inverse` | | Opacity modifiers | Subtle variations | `bg-white/10`, `text-champagne/60` | | Group hover | Parent-child interaction | `group` + `group-hover:opacity-100` | | Responsive hiding | Mobile-first visibility | `hidden lg:flex` | | Backdrop blur | Glass morphism | `backdrop-blur-xl bg-midnight/80` | ## Common Patterns ### Interactive Card with Group Hover ```tsx
``` ### Responsive Navigation ```tsx ``` ## See Also - [patterns](references/patterns.md) - Utility combinations, theme integration, spacing - [workflows](references/workflows.md) - Adding components, theme customization, responsive design ## Related Skills For React component patterns, see the **react** skill. For form styling with validation states, see the **react-hook-form** skill. For TypeScript interfaces for design tokens, see the **typescript** skill.