- 产品编辑入口统一走 ProductFormFull(卖点/风格/人群/品牌词全字段); 修复开任务页 <form> 套 <form> 致"编辑产品"报错、改不了、跳回首个产品 - dashboard 入口卡片对齐实际路由: 系统管理(/config) 与 工作配置(/settings) 分开; settings ?tab=products 直达改用挂载后读 URL, 消除 hydration mismatch - 新增用户管理(users API/admin service/改密页) + alembic 022/023/024 - 上线部署: Dockerfile / docker-compose.prod+https / nginx https / .env.example - A8 三套正交叙事(痛点/场景/成分背书) + beige 调色去AI化 + 飞轮 text_import 高权重信号 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
63 lines
1.4 KiB
JavaScript
63 lines
1.4 KiB
JavaScript
/** @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',
|
|
},
|
|
keyframes: {
|
|
shimmer: {
|
|
'0%': { backgroundPosition: '200% 0' },
|
|
'100%': { backgroundPosition: '-200% 0' },
|
|
},
|
|
},
|
|
animation: {
|
|
shimmer: 'shimmer 1.5s infinite linear',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|