--- id: travisjneuman/.claude/generic-fullstack-design-system version: "7b90fb2e" license: MIT install: manual updated: 2026-07-17 --- # generic-fullstack-design-system — Build consistent UIs across full-stack Next.js/NestJS applications using this design system reference. It covers theme configuration, shadcn/ui component patterns, CSS variables, dark mode setup with next-themes, and visual effects like glassmorphism. Extends the generic design system foundation for colors, typography, and spacing. Publisher: travisjneuman · Stars: 85 · Updated: 2026-07-17 Install (manual): `git clone https://github.com/travisjneuman/.claude` ## SKILL.md # Fullstack Design System Design system patterns for Next.js/NestJS full-stack applications. **Extends:** [Generic Design System](../generic-design-system/SKILL.md) - Read base skill for color theory, typography scale, spacing system, and component states. ## Theme Configuration ### lib/theme.ts Structure ```typescript // lib/theme.ts - Single source of truth export const theme = { colors: { primary: "hsl(220, 100%, 55%)", secondary: "hsl(180, 100%, 50%)", accent: "hsl(270, 70%, 60%)", }, spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px", }, }; ``` ### CSS Variables (globals.css) ```css :root { --background: #ffffff; --foreground: #0a0a0f; --primary: hsl(220, 100%, 55%); --primary-foreground: #ffffff; } .dark { --background: #0a0a0f; --foreground: #fafafa; } ``` ### Tailwind Integration ```javascript // tailwind.config.js module.exports = { theme: { extend: { colors: { background: "var(--background)", foreground: "var(--foreground)", primary: "var(--primary)", }, }, }, }; ``` ## shadcn/ui Patterns ### Button Variants ```tsx import { Button } from '@/components/ui/button'; ``` ### Form Components ```tsx import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label";