From 12cf4ffee79fa0f8fab38e1fe7f2ddfa3ec678a2 Mon Sep 17 00:00:00 2001 From: Adrian Brady Date: Thu, 2 Oct 2025 21:55:41 -0500 Subject: [PATCH] fix body background color --- components/ThemeManager/ThemeProvider.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ThemeManager/ThemeProvider.tsx b/components/ThemeManager/ThemeProvider.tsx index bed35b02..f907b4c8 100644 --- a/components/ThemeManager/ThemeProvider.tsx +++ b/components/ThemeManager/ThemeProvider.tsx @@ -185,6 +185,7 @@ export const BaseThemeProvider = ({ if (!el) return; setCSSVariableToColor(el, "--bg-leaflet", bgLeaflet); setCSSVariableToColor(el, "--bg-page", bgPage); + document.body.style.backgroundColor = `rgb(${colorToString(bgLeaflet, "rgb")})`; document .querySelector('meta[name="theme-color"]') ?.setAttribute("content", `rgb(${colorToString(bgLeaflet, "rgb")})`); -- 2.51.2