From a2fc1968be1f06461e45edd98bb72f12760e83e0 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" <219766164+opencode-agent[bot]@users.noreply.github.com> Date: Tue, 29 Sep 2026 15:59:22 -0500 Subject: [PATCH] fix(stats): match document background to page theme (#52169) --- packages/stats/app/src/routes/index.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/stats/app/src/routes/index.css b/packages/stats/app/src/routes/index.css index 6b881690d23..42225cab363 100644 --- a/packages/stats/app/src/routes/index.css +++ b/packages/stats/app/src/routes/index.css @@ -42,6 +42,20 @@ U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; } +:root { + background: #ffffff; +} + +:root[data-stats-theme="dark"] { + background: #161616; +} + +@media (prefers-color-scheme: dark) { + :root:not([data-stats-theme="light"]) { + background: #161616; + } +} + body { min-width: 320px; margin: 0;