fa
Some checks failed
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-26 21:29:54 +08:00
commit 2c4549ad79
85 changed files with 14664 additions and 0 deletions

26
tailwind.config.ts Normal file
View File

@@ -0,0 +1,26 @@
import type { Config } from "tailwindcss";
const config: Config = {
// 关键配置:启用 class 模式的深色主题
darkMode: 'class',
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: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
plugins: [],
// 生产模式优化
future: {
hoverOnlyWhenSupported: true,
},
};
export default config;