--- globs: ["**/*.css", "src/renderer/**/*.tsx"] --- # Tailwind CSS Conventions ## Theme Architecture Uses CSS custom properties for theme-aware colors defined in `src/renderer/index.css`. ### Core Surface Colors ```css --color-surface: #141416 /* Main background */ --color-surface-raised: #27272a /* Elevated surfaces */ --color-surface-overlay: #27272a /* Overlays/modals */ --color-surface-sidebar: #0f0f11 /* Sidebar background */ ``` ### Border Colors ```css --color-border: rgba(255, 255, 255, 0.05) --color-border-subtle: rgba(255, 255, 255, 0.05) --color-border-emphasis: rgba(255, 255, 255, 0.1) ``` ### Text Colors ```css --color-text: #fafafa /* Primary text */ --color-text-secondary: #a1a1aa /* Secondary text */ --color-text-muted: #71717a /* Muted text */ ``` ## Tailwind Usage Use theme-aware classes that reference CSS variables: ```tsx // Preferred - uses CSS variables for theme support