feat: 初始化项目配置和基础架构
- 添加项目配置文件:.vercelignore、.codex/config.toml、postcss.config.js、.prettierrc 等 - 设置构建工具链:Vite + React + TypeScript + TailwindCSS - 添加核心组件:HeaderBar、TierRow、ItemCard、Pool - 配置 CI/CD 和部署相关文件:vercel.json、DEPLOY.md - 添加开发工具配置:ESLint、Prettier、EditorConfig - 实现基础功能:拖拽排序、图片处理、状态管理
This commit is contained in:
21
tailwind.config.cjs
Normal file
21
tailwind.config.cjs
Normal file
@ -0,0 +1,21 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["./index.html", "./src/**/*.{ts,tsx}"],
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
surface: "#121212",
|
||||
panel: "#1c1c1f",
|
||||
accent: "#70e0a3",
|
||||
border: "#2b2b30",
|
||||
text: "#e8e8f0",
|
||||
mute: "#9aa0b5"
|
||||
},
|
||||
boxShadow: {
|
||||
soft: "0 10px 30px rgba(0,0,0,0.35)"
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: []
|
||||
};
|
||||
Reference in New Issue
Block a user