원클릭으로
tailwind-expert
Tailwind CSS v4 patterns for Next.js — configuration, utilities, theming, and dark mode
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Tailwind CSS v4 patterns for Next.js — configuration, utilities, theming, and dark mode
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Activates when working with Python data pipelines, GCS operations, or medallion architecture (Bronze/Silver/Gold). Use this skill for: running pipelines, debugging data transformations, GCS uploads/downloads, data quality validation, CVR/CHR/BFE identifier handling, GeoPandas/PostGIS operations, and DuckDB queries for large files. Keywords: pipeline, bronze, silver, gold, GCS, parquet, CVR, CHR, BFE, transform, ingest, ETL, DuckDB, large files
Activates when querying livestock and animal data from R2. Use this skill for: CHR registry, pig movements, animal welfare, antibiotics, animal density, mortality rates, herd tracking, svineflytning. Keywords: husdyr, livestock, animal, dyr, CHR, svin, pig, ko, cattle, antibiotika, dyrevelfærd, flytning, movement
Activates when querying agricultural land and field data from R2. Use this skill for: field boundaries, crop data, land use, organic farming, production estimates, cadastral data, agricultural blocks, building data. Keywords: landbrugsareal, field, mark, marker, crop, afgrøde, organic, økologisk, production, areal, cadastral, matrikel
Activates when querying employee and workplace safety data from R2. Use this skill for: Arbejdstilsynet inspections, work permits, safety violations, workplace accidents, compliance rates, foreign workers, incident tracking. Keywords: medarbejdere, employees, worker, arbejdstilsynet, inspection, tilsyn, safety, arbejdsmiljø, accident, ulykke, compliance
Activates when querying environmental data from R2. Use this skill for: pesticides, nitrogen leaching, BNBO drinking water protection, wetlands, soil types, environmental compliance, biodiversity. Keywords: miljø, environment, pesticide, pesticid, nitrogen, kvælstof, BNBO, wetlands, vådomr, soil, jord, biodiversity
Activates when querying financial/economic data from R2. Use this skill for: subsidies, farm financials, property values, CVR enrichment, ownership data, støtte per hektar, samlet støtte, grundværdi. Keywords: økonomi, finance, subsidies, støtte, tilskud, CVR, property, ejendom, grundværdi
| name | tailwind-expert |
| description | Tailwind CSS v4 patterns for Next.js — configuration, utilities, theming, and dark mode |
Version: Tailwind CSS 4.x with
@tailwindcss/postcss. This project usestailwindcss@^4.
| v3 | v4 |
|---|---|
tailwindcss in postcss | @tailwindcss/postcss plugin |
@tailwind base/components/utilities | @import "tailwindcss" |
tailwind.config.ts | CSS-first config via @theme |
theme.extend in JS | @theme { --color-brand: ... } in CSS |
darkMode: 'class' config | @variant dark (...) in CSS |
// postcss.config.mjs
const config = {
plugins: {
"@tailwindcss/postcss": {},
},
}
export default config
/* app/globals.css */
@import "tailwindcss";
/* Custom theme tokens */
@theme {
--color-brand: oklch(0.55 0.2 145);
--color-brand-foreground: oklch(0.98 0 0);
--font-sans: 'Inter', sans-serif;
--radius: 0.5rem;
}
// Responsive
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4" />
// Dark mode (automatic via prefers-color-scheme, or class-based)
<div className="bg-white dark:bg-zinc-900 text-zinc-900 dark:text-zinc-50" />
// Group hover
<div className="group">
<span className="opacity-0 group-hover:opacity-100 transition-opacity" />
</div>
// Arbitrary values
<div className="w-[372px] top-[117px]" />
// CSS variable utilities
<div className="text-[var(--color-brand)]" />
/* globals.css */
@import "tailwindcss";
@theme {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--border: oklch(0.922 0 0);
--radius: 0.625rem;
}
@media (prefers-color-scheme: dark) {
@theme {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
}
}
Layout: flex items-center justify-between gap-4
grid grid-cols-12 col-span-4
container mx-auto px-4
Spacing: p-4 px-6 py-3 m-0 mt-8 space-y-4 gap-6
Typography: text-sm text-base text-lg text-xl text-2xl
font-medium font-semibold font-bold
text-muted-foreground leading-relaxed tracking-tight
Borders: border border-border rounded-lg rounded-full
ring-1 ring-border ring-offset-2
Shadows: shadow-sm shadow shadow-lg shadow-xl
Sizing: w-full h-full max-w-screen-lg min-h-screen
w-10 h-10 size-4 (shorthand for w-4 h-4)
Interactivity: hover:bg-accent focus-visible:ring-2
disabled:opacity-50 disabled:cursor-not-allowed
transition-colors duration-200 ease-in-out
cursor-pointer select-none
Overflow: overflow-hidden truncate line-clamp-2 whitespace-nowrap
@import "tailwindcss" not the old three-line directive@theme {} in CSS, not tailwind.config.tspostcss.config.mjs with "@tailwindcss/postcss" (not tailwindcss)size-{n} is the v4 shorthand for w-{n} h-{n}oklch() color space is preferred for theme tokens (perceptually uniform)[] when you need exact pixel values