From 42d874556cb7493921fc1e84bbeb3d3f89a08d2e Mon Sep 17 00:00:00 2001 From: Vick Scarlet Date: Mon, 27 Jul 2026 23:57:22 +0800 Subject: [PATCH] change: document.body theme color --- src/ui/uiManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/uiManager.js b/src/ui/uiManager.js index 47455bb..81464b8 100644 --- a/src/ui/uiManager.js +++ b/src/ui/uiManager.js @@ -364,6 +364,7 @@ export default class UIManager { set theme(value) { localStorage.setItem('theme', value) this.#stage.bgColor = this.#configs.bgColor + document.body.style.backgroundColor = this.#configs.bgColor document ?.querySelector?.('meta[name="theme-color"]') ?.setAttribute?.('content', this.#configs.bgColor)