summaryrefslogtreecommitdiff
path: root/examples/doc/public
diff options
context:
space:
mode:
Diffstat (limited to 'examples/doc/public')
-rw-r--r--examples/doc/public/theme.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/doc/public/theme.js b/examples/doc/public/theme.js
index 1296b49b3..d75d0bf99 100644
--- a/examples/doc/public/theme.js
+++ b/examples/doc/public/theme.js
@@ -1,8 +1,8 @@
(() => {
const root = document.documentElement;
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
- root.classList.add('theme-dark')
+ root.classList.add('theme-dark');
} else {
- root.classList.remove('theme-dark')
+ root.classList.remove('theme-dark');
}
-})()
+})();