diff --git a/docs/docs/frames/utils.js b/docs/docs/frames/utils.js deleted file mode 100644 index 8565744489..0000000000 --- a/docs/docs/frames/utils.js +++ /dev/null @@ -1,21 +0,0 @@ -export function trackColorScheme() { - let prevTheme = null - - window.addEventListener('storage', () => { - let theme = localStorage.getItem('vitepress-theme-appearance') - if (theme === prevTheme) return - prevTheme = theme - - if (theme === 'auto') { - theme = window.matchMedia('(prefers-color-scheme: dark)').matches - ? 'dark' - : 'light' - } - - if (theme === 'light') { - document.documentElement.classList.remove('dark') - } else if (theme === 'dark') { - document.documentElement.classList.add('dark') - } - }) -} diff --git a/docs/docs/frames/zui.md b/docs/docs/frames/zui.md deleted file mode 100644 index e813be5223..0000000000 --- a/docs/docs/frames/zui.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -layout: false -head: - - - link - - rel: stylesheet - href: /zui.css - - - script - - src: /zui.umd.cjs ---- - - - - -
- -