library-picturebook-activity/java-frontend/tailwind.config.js
En 48fc71b41d fix: 前后端接口对齐修复
- 修复 sys-config 接口参数对齐(configKey/configValue)
- 添加 dict 字典项管理 API
- 修复 logs 接口参数格式(批量删除/清理日志)
- 添加 request.ts postForm/putForm 方法支持

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 18:53:24 +08:00

56 lines
1.4 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {
// 自定义颜色(品牌色、功能色)
// colors: {
// primary: {
// // 主色调(比如后台常用的蓝色)
// 50: "#f0f9ff",
// 100: "#e0f2fe",
// 500: "#0ea5e9", // 常用主色
// 600: "#0284c7", // 加深主色
// },
// secondary: {
// // 辅助色(比如橙色)
// 500: "#f97316",
// },
// neutral: {
// // 中性色(背景、文本)
// 100: "#f8fafc",
// 200: "#e2e8f0",
// 700: "#334155",
// 900: "#0f172a",
// },
// },
// // 自定义间距(按 8px 基准,后台常用)
// spacing: {
// 1: "4px",
// 2: "8px",
// 3: "12px",
// 4: "16px",
// 5: "20px",
// 6: "24px",
// // ... 更多间距
// },
// // 自定义字体(后台常用无衬线字体)
// fontFamily: {
// sans: ["Inter", "system-ui", "sans-serif"],
// },
// // 自定义边框圆角
// borderRadius: {
// sm: "4px",
// md: "6px",
// lg: "8px",
// },
},
},
plugins: [
// require('tailwindcss-animate'), // 额外动画插件
],
corePlugins: {
preflight: false,
},
};