feat: 为 desktop/server 添加 Tailwind CSS 支持和 Biome 集成

- desktop renderer 接入 @tailwindcss/vite,loading 页面改用 Tailwind 类
- 两个 app 添加 biome.json 继承配置:tailwindDirectives + useSortedClasses
This commit is contained in:
2026-02-08 19:17:53 +08:00
parent 6cc1bc6834
commit d69a573a33
7 changed files with 95 additions and 32 deletions

16
apps/desktop/biome.json Normal file
View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/@biomejs/biome/configuration_schema.json",
"extends": "//",
"css": {
"parser": {
"tailwindDirectives": true
}
},
"linter": {
"rules": {
"nursery": {
"useSortedClasses": "warn"
}
}
}
}