mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-31 23:11:46 +08:00
feat(界面设计): 默认窗口材质改为纯色
This commit is contained in:
1 parent
841020b881
commit
60f805fab4
3 files changed
+3
-7
No files matched your search
@@ -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 {}
|
||||
|
||||
Reference in new issue
Block a user