a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #218 from adrian-brady/Feature/bodycolor

Fix background color on iOS

authored by

Brendan Schlagel and committed by
GitHub
8b7895fc b5e45f9b

+1
+1
components/ThemeManager/ThemeProvider.tsx
··· 185 185 if (!el) return; 186 186 setCSSVariableToColor(el, "--bg-leaflet", bgLeaflet); 187 187 setCSSVariableToColor(el, "--bg-page", bgPage); 188 + document.body.style.backgroundColor = `rgb(${colorToString(bgLeaflet, "rgb")})`; 188 189 document 189 190 .querySelector('meta[name="theme-color"]') 190 191 ?.setAttribute("content", `rgb(${colorToString(bgLeaflet, "rgb")})`);