mirror of https://github.com/VERT-sh/VERT.git
???
This commit is contained in:
parent
3d1c3705c3
commit
adb4bd4fc5
|
@ -17,10 +17,11 @@ class Theme {
|
||||||
expires: 2147483647,
|
expires: 2147483647,
|
||||||
});
|
});
|
||||||
log(["theme"], `set to ${this.dark ? "dark" : "light"}`);
|
log(["theme"], `set to ${this.dark ? "dark" : "light"}`);
|
||||||
if (browser)
|
if (browser) {
|
||||||
window.plausible("Theme set", {
|
window.plausible("Theme set", {
|
||||||
props: { theme: theme.dark ? "dark" : "light" },
|
props: { theme: theme.dark ? "dark" : "light" },
|
||||||
});
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue