Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides styling with Tailwind CSS using CSS-first @theme configuration, OKLCH colors, container queries, and dark mode.
Use this skill ↓52% 78%+26 ptsof test cases passed
Passed 18 of 23 test cases with the skill, and 12 of 23 without it.
3 of 3 safety checks passed
Not used yet
This skill provides guidance for styling applications with Tailwind CSS, focusing on always using the latest version and modern patterns.
Philosophy: Use CSS-first configuration with
@theme. Use OKLCH colors for perceptual uniformity. Prefer@containerqueries over media queries when appropriate.
| Feature | Modern Approach | Legacy (Avoid) |
|---|---|---|
| Configuration | CSS @theme directive | tailwind.config.js |
| Colors | OKLCH color space | RGB/HSL colors |
| Container queries | @container | Media queries only |
| Content detection | Automatic | Manual content: [] config |
| PostCSS plugin | @tailwindcss/postcss | tailwindcss package |
npm install tailwindcss @tailwindcss/postcss postcss
// postcss.config.mjs
export default {
plugins: {
'@tailwindcss/postcss': {}
}
}
/* app/globals.css */
@import "tailwindcss";
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.