fix: text on analytics page reload button

This commit is contained in:
SethBurkart123
2026-06-03 10:32:36 +10:00
parent 4f6c978043
commit ce18412405
2 changed files with 142 additions and 37 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ function syncThemeFromPage(target: HTMLElement) {
const computed = getComputedStyle(document.documentElement);
for (const name of THEME_CSS_VARS) {
const value = computed.getPropertyValue(name).trim();
let value = computed.getPropertyValue(name).trim();
value = document.documentElement.style.getPropertyValue(name).trim();
if (value) {
target.style.setProperty(name, value);
}