baseline: Clover 独立仓库首次基线提交
将 Clover 从上层产品包旧仓库中独立出来,建立专属版本控制。 当前状态=纵切片端到端已打通(登录→选品→出文出图→审核→下载包), M1文案质量去套路化已验收。此提交作为后续按核销清单逐条修复的基线。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
53
frontend/tailwind.config.js
Normal file
53
frontend/tailwind.config.js
Normal file
@@ -0,0 +1,53 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
|
||||
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
|
||||
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
// design tokens — 暖橙/奶油色+绿色小草
|
||||
brand: {
|
||||
orange: '#F97316',
|
||||
'orange-light': '#FED7AA',
|
||||
cream: '#FEFCE8',
|
||||
'cream-dark': '#FEF9C3',
|
||||
green: '#22C55E',
|
||||
'green-light': '#DCFCE7',
|
||||
'green-dark': '#16A34A',
|
||||
},
|
||||
surface: {
|
||||
primary: '#FFFFFF',
|
||||
secondary: '#F9FAFB',
|
||||
tertiary: '#F3F4F6',
|
||||
},
|
||||
text: {
|
||||
primary: '#111827',
|
||||
secondary: '#6B7280',
|
||||
tertiary: '#9CA3AF',
|
||||
},
|
||||
border: {
|
||||
default: '#E5E7EB',
|
||||
focus: '#F97316',
|
||||
},
|
||||
status: {
|
||||
error: '#EF4444',
|
||||
warning: '#F59E0B',
|
||||
success: '#22C55E',
|
||||
info: '#3B82F6',
|
||||
},
|
||||
},
|
||||
spacing: {
|
||||
// token 化间距
|
||||
'18': '4.5rem',
|
||||
'22': '5.5rem',
|
||||
},
|
||||
minWidth: {
|
||||
'320': '1280px',
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
Reference in New Issue
Block a user