본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

shadcn-theme-default

guifav 제작

Web & Frontend Development
376clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Enforces the default shadcn/ui Neutral theme (black/white/gray) with OKLCH CSS variables, Tailwind v4 integration.

설명

이 스킬이 하는 일

Applies and maintains the default shadcn/ui Neutral theme (black, white, gray) using OKLCH CSS variables. Covers light and dark mode variable definitions, Tailwind v4 @theme integration, and dark mode toggling via next-themes or manual class switching. Only modifies CSS and Tailwind configuration files.

Provides the complete variable set, Tailwind registration, and dark mode wiring in one place, removing the need to cross-reference shadcn/ui docs and Tailwind migration guides separately.

사용 시점

  • Setting up the Neutral theme in a new Next.js + shadcn/ui project
  • Migrating a project from Tailwind v3 HSL variables to v4 OKLCH
  • Adding a working dark mode toggle to an existing shadcn/ui app
  • Auditing component files for hardcoded colors that should use theme tokens
  • Wiring up sidebar-specific CSS tokens separately from global surface tokens

예시 워크플로

입력

User asks: Add the default shadcn/ui Neutral theme with dark mode to my Next.js app

에이전트
  1. 1

    Check globals.css and tailwind config for existing variable definitions

  2. 2

    Write the full :root and .dark CSS variable blocks to globals.css using OKLCH values

  3. 3

    Add the @theme inline directive to register variables as Tailwind color utilities

  4. 4

    Install next-themes and create a ThemeProvider wrapper component

  5. 5

    Wrap the root layout with ThemeProvider and add a ThemeToggle button

출력

globals.css contains complete light and dark variable sets, Tailwind classes like bg-primary and text-muted-foreground resolve correctly, and the app toggles between light and dark modes

설치

clawhub install guifav/shadcn-theme-default

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크