This commit is contained in:
parent
eb80fbdef5
commit
38c91032f3
1 changed files with 4 additions and 2 deletions
|
@ -160,6 +160,8 @@ window.addEventListener("load", () => {
|
||||||
uncollapse(last_openeded);
|
uncollapse(last_openeded);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix SVG images
|
// Fix SVG images in dark mode
|
||||||
svgDarkTheme();
|
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
|
||||||
|
svgDarkTheme();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue