feat(界面设计): 默认窗口材质改为纯色

This commit is contained in:
xiaoqidun committed 2026-10-31 16:10:20 +08:00
1 parent 841020b881
commit 60f805fab4
3 files changed
+3 -7

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
const preference = matchMedia("(prefers-color-scheme: dark)");
const key = "ofdgo.theme";
let mode = root.dataset.themeMode || "system";
let material = root.dataset.windowChoice || "acrylic";
let material = root.dataset.windowChoice || "solid";
let host = null, report = null, pending = Promise.resolve(), revision = 0, committed = null;
if (!root.dataset.themeMode) {
try { mode = localStorage.getItem(key) || "system"; } catch {}