fix svg
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval

This commit is contained in:
Mylloon 2024-04-01 17:55:51 +02:00
parent eb80fbdef5
commit 38c91032f3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -160,6 +160,8 @@ window.addEventListener("load", () => {
uncollapse(last_openeded);
}
// Fix SVG images
// Fix SVG images in dark mode
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
svgDarkTheme();
}
});