Hypha UI stack: Tailwind CSS 4, shadcn/ui, Radix UI colors. Use when working with packages/ui, design tokens, component specs, or styling in hypha-web.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Hypha UI stack: Tailwind CSS 4, shadcn/ui, Radix UI colors. Use when working with packages/ui, design tokens, component specs, or styling in hypha-web.
Hypha UI Stack
The hypha-web design system is built on Tailwind CSS 4, shadcn/ui, and Radix UI colors. All UI work must align with these technologies.
Tailwind CSS 4
Version:tailwindcss ^4.0.8
Config:@theme in packages/ui-utils/src/global.css — no tailwind.config.js
Entry:@import 'tailwindcss' with @source for content scanning
Dark mode:@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *))
Key: Use @theme blocks for design tokens; utilities map to CSS variables.
Tailwind 4 Conventions
Colors: --color-* in @theme → bg-accent-9, text-foreground
Spacing: --spacing-* → p-4, gap-5
Radius: --radius-sm, --radius-md, --radius-lg
No arbitrary values when tokens exist — use bg-accent-9 not bg-[#123]
shadcn/ui
Add components:pnpm add-component (runs shadcn@latest add in packages/ui)