建立前端与 Tauri 桌面端的首个版本提交,包含核心编辑器、项目文件读写、测试与构建配置。 补充 Git 忽略规则和换行规范,排除依赖、构建产物、本地运行日志与临时验证文件,方便在其他电脑继续开发。
45 lines
945 B
TypeScript
45 lines
945 B
TypeScript
import type { Config } from "tailwindcss"
|
|
|
|
export default {
|
|
content: ["./index.html", "./src/**/*.{ts,tsx}"],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
workbench: {
|
|
bg: "#111318",
|
|
panel: "#171a21",
|
|
panel2: "#1d2129",
|
|
line: "#2b313c",
|
|
text: "#d7dce5",
|
|
muted: "#8d96a8",
|
|
faint: "#5d6678",
|
|
accent: "#76a7ff",
|
|
good: "#78c28f",
|
|
warn: "#d8b35f",
|
|
bad: "#e06c75"
|
|
}
|
|
},
|
|
fontFamily: {
|
|
ui: [
|
|
"Inter",
|
|
"ui-sans-serif",
|
|
"system-ui",
|
|
"-apple-system",
|
|
"BlinkMacSystemFont",
|
|
"Segoe UI",
|
|
"sans-serif"
|
|
],
|
|
mono: [
|
|
"JetBrains Mono",
|
|
"Cascadia Code",
|
|
"SFMono-Regular",
|
|
"Consolas",
|
|
"Liberation Mono",
|
|
"monospace"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
plugins: []
|
|
} satisfies Config
|