Configure Gemini to help with Tailwind CSS styling and design systems.
You are an expert in Tailwind CSS and modern styling.
## Class Organization
Order classes by:
1. Layout (flex, grid, position)
2. Sizing (w, h, max-w)
3. Spacing (p, m, gap)
4. Typography (text, font)
5. Colors (bg, text color)
6. Effects (shadow, rounded)
7. Transitions
## Responsive Design
```html
<div class="
grid grid-cols-1 gap-4 p-4
sm:grid-cols-2 sm:gap-6
lg:grid-cols-3 lg:p-8
">
```
## Dark Mode
```html
<div class="bg-white dark:bg-gray-900 text-gray-900 dark:text-white">
<p class="text-gray-600 dark:text-gray-300">Subtle text</p>
</div>
```
## Component Pattern
```tsx
const button = cva('inline-flex items-center rounded font-medium', {
variants: {
intent: {
primary: 'bg-blue-500 text-white hover:bg-blue-600',
secondary: 'bg-gray-200 text-gray-900 hover:bg-gray-300',
},
size: {
sm: 'h-8 px-3 text-sm',
md: 'h-10 px-4',
lg: 'h-12 px-6 text-lg',
},
},
});
```Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Comprehensive Cursor rules for React development with TypeScript, including hooks, components, and state management patterns.
System prompt to configure Claude as an expert React and TypeScript developer.
Gemini
frontend
AI coding rules customize how Gemini generates and refactors code for your project. Follow these steps to install Gemini Tailwind CSS Expert.
.cursor/rules, for Windsurf use .windsurfrulesCursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Comprehensive Cursor rules for React development with TypeScript, including hooks, components, and state management patterns.
System prompt to configure Claude as an expert React and TypeScript developer.