1
0
şunun yansıması https://github.com/karl0ss/homepage.git eşitlendi 2025-11-24 12:04:29 +00:00

Fix: toggle light / dark makes background white (#4553)

Bu işleme şunda yer alıyor:
shamoon 2025-01-02 19:13:14 -08:00 işlemeyi yapan: GitHub
ebeveyn 6f429a6a4b
işleme 1a85175b15
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: B5690EEEBB952194

Dosyayı Görüntüle

@ -459,7 +459,7 @@ function Home({ initialSettings }) {
}
export default function Wrapper({ initialSettings, fallback }) {
const { theme } = useContext(ThemeContext);
const { themeContext } = useContext(ThemeContext);
const wrappedStyle = {};
let backgroundBlur = false;
let backgroundSaturate = false;
@ -490,9 +490,9 @@ export default function Wrapper({ initialSettings, fallback }) {
id="page_wrapper"
className={classNames(
"relative",
theme && theme,
initialSettings.theme && initialSettings.theme,
initialSettings.color && `theme-${initialSettings.color}`,
theme === "dark" ? "scheme-dark" : "scheme-light",
themeContext === "dark" ? "scheme-dark" : "scheme-light",
)}
>
<div