feat: 프로젝트 초기 설정 완료 - Vite + React + TypeScript, TailwindCSS + ShadCN UI, Zustand, 기본 타입 및 컴포넌트 구현

This commit is contained in:
JiWoong Sul
2025-06-19 16:47:43 +09:00
commit 6f4bc163a7
31 changed files with 5364 additions and 0 deletions

81
tailwind.config.js Normal file
View File

@@ -0,0 +1,81 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
border: "hsl(214.3 31.8% 91.4%)",
input: "hsl(214.3 31.8% 91.4%)",
ring: "hsl(222.2 84% 4.9%)",
background: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
primary: {
DEFAULT: "hsl(222.2 47.4% 11.2%)",
foreground: "hsl(210 40% 98%)",
},
secondary: {
DEFAULT: "hsl(210 40% 96%)",
foreground: "hsl(222.2 84% 4.9%)",
},
destructive: {
DEFAULT: "hsl(0 84.2% 60.2%)",
foreground: "hsl(210 40% 98%)",
},
muted: {
DEFAULT: "hsl(210 40% 96%)",
foreground: "hsl(215.4 16.3% 46.9%)",
},
accent: {
DEFAULT: "hsl(210 40% 96%)",
foreground: "hsl(222.2 84% 4.9%)",
},
popover: {
DEFAULT: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
},
card: {
DEFAULT: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
},
},
borderRadius: {
lg: "0.5rem",
md: "calc(0.5rem - 2px)",
sm: "calc(0.5rem - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
fadeIn: {
from: { opacity: "0" },
to: { opacity: "1" },
},
slideIn: {
from: { transform: "translateX(100%)" },
to: { transform: "translateX(0)" },
},
slideOut: {
from: { transform: "translateX(0)" },
to: { transform: "translateX(100%)" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"fade-in": "fadeIn 0.2s ease-in-out",
"slide-in": "slideIn 0.3s ease-out",
"slide-out": "slideOut 0.3s ease-in",
},
},
},
plugins: [],
}