diff --git a/package.json b/package.json
index e80b8f3..4c8aaf5 100644
--- a/package.json
+++ b/package.json
@@ -20,14 +20,15 @@
"author": "Chaly",
"license": "MIT",
"devDependencies": {
+ "@tailwindcss/postcss": "4.3.0",
"@types/node": "^24.10.1",
"obsidian": "^1.8.7",
+ "postcss": "^8.5.15",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vitest": "^4.1.8"
},
"dependencies": {
- "@tailwindcss/vite": "^4.3.0",
"@vitejs/plugin-vue": "^6.0.7",
"sass": "^1.100.0",
"tailwindcss": "^4.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2cfe7ff..591f04a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,9 +8,6 @@ importers:
.:
dependencies:
- '@tailwindcss/vite':
- specifier: ^4.3.0
- version: 4.3.0(vite@8.0.16(@types/node@24.12.4)(jiti@2.7.0)(sass@1.100.0))
'@vitejs/plugin-vue':
specifier: ^6.0.7
version: 6.0.7(vite@8.0.16(@types/node@24.12.4)(jiti@2.7.0)(sass@1.100.0))(vue@3.5.35(typescript@6.0.3))
@@ -24,12 +21,18 @@ importers:
specifier: ^3.5.35
version: 3.5.35(typescript@6.0.3)
devDependencies:
+ '@tailwindcss/postcss':
+ specifier: 4.3.0
+ version: 4.3.0
'@types/node':
specifier: ^24.10.1
version: 24.12.4
obsidian:
specifier: ^1.8.7
version: 1.13.0(@codemirror/state@6.5.0)(@codemirror/view@6.38.6)
+ postcss:
+ specifier: ^8.5.15
+ version: 8.5.15
typescript:
specifier: ^6.0.3
version: 6.0.3
@@ -42,6 +45,10 @@ importers:
packages:
+ '@alloc/quick-lru@5.2.0':
+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
+ engines: {node: '>=10'}
+
'@babel/helper-string-parser@7.29.7':
resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
engines: {node: '>=6.9.0'}
@@ -380,10 +387,8 @@ packages:
resolution: {integrity: sha512-F7HZGBeN9I0/AuuJS5PwcD8xayx5ri5GhjYUDBEVYUkexyA/giwbDNjRVrxSezE3T250OU2K/wp/ltWx3UOefg==}
engines: {node: '>= 20'}
- '@tailwindcss/vite@4.3.0':
- resolution: {integrity: sha512-t6J3OrB5Fc0ExuhohouH0fWUGMYL6PTLhW+E7zIk/pdbnJARZDCwjBznFnkh5ynRnIRSI4YjtTH0t6USjJISrw==}
- peerDependencies:
- vite: ^5.2.0 || ^6 || ^7 || ^8
+ '@tailwindcss/postcss@4.3.0':
+ resolution: {integrity: sha512-Jm05Tjx+9yCLGv5qw1c+84Psds8MnyrEQYCB+FFk2lgGiUjlRqdxke4mVTuYrj2xnVZqKim2Apr5ySuQRYAw/w==}
'@tybys/wasm-util@0.10.2':
resolution: {integrity: sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==}
@@ -825,6 +830,8 @@ packages:
snapshots:
+ '@alloc/quick-lru@5.2.0': {}
+
'@babel/helper-string-parser@7.29.7': {}
'@babel/helper-validator-identifier@7.29.7': {}
@@ -1070,12 +1077,13 @@ snapshots:
'@tailwindcss/oxide-win32-arm64-msvc': 4.3.0
'@tailwindcss/oxide-win32-x64-msvc': 4.3.0
- '@tailwindcss/vite@4.3.0(vite@8.0.16(@types/node@24.12.4)(jiti@2.7.0)(sass@1.100.0))':
+ '@tailwindcss/postcss@4.3.0':
dependencies:
+ '@alloc/quick-lru': 5.2.0
'@tailwindcss/node': 4.3.0
'@tailwindcss/oxide': 4.3.0
+ postcss: 8.5.15
tailwindcss: 4.3.0
- vite: 8.0.16(@types/node@24.12.4)(jiti@2.7.0)(sass@1.100.0)
'@tybys/wasm-util@0.10.2':
dependencies:
diff --git a/postcss.config.mjs b/postcss.config.mjs
new file mode 100644
index 0000000..fa4a1da
--- /dev/null
+++ b/postcss.config.mjs
@@ -0,0 +1,6 @@
+export default {
+ plugins: {
+ "@tailwindcss/postcss": {},
+ },
+};
+
diff --git a/src/settings/SettingsApp.vue b/src/settings/SettingsApp.vue
index ccb9bce..4cbb2af 100644
--- a/src/settings/SettingsApp.vue
+++ b/src/settings/SettingsApp.vue
@@ -38,145 +38,185 @@ const emit = defineEmits<{
MVP
-
-
-
对象存储
-
填写 S3 兼容对象存储信息。Cloudflare R2 的 Region 通常填 auto。
-
-
-
-