We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124cf54 commit d51b0adCopy full SHA for d51b0ad
docs/js/index.js
@@ -31,7 +31,7 @@ document.addEventListener('DOMContentLoaded', function() {
31
// Apply theme on page load (only if not already set by inline script)
32
const initialTheme = getPreferredTheme();
33
const currentTheme = document.documentElement.classList.contains('dark') ? 'dark' : 'light';
34
-
+
35
// Only apply if the current theme doesn't match the preferred theme
36
if (currentTheme !== initialTheme) {
37
applyTheme(initialTheme);
0 commit comments