diff --git a/packages/docs-web/astro.config.mjs b/packages/docs-web/astro.config.mjs index cabfa83fd9..d4d0301cfe 100644 --- a/packages/docs-web/astro.config.mjs +++ b/packages/docs-web/astro.config.mjs @@ -15,7 +15,7 @@ export default defineConfig({ head: [ { tag: 'script', - content: `if(!localStorage.getItem('starlight-theme')){localStorage.setItem('starlight-theme','dark');document.documentElement.dataset.theme='dark';}`, + content: `if(!localStorage.getItem('archon-theme-init')){localStorage.setItem('archon-theme-init','1');localStorage.setItem('starlight-theme','dark');document.documentElement.dataset.theme='dark';}`, }, ], social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/coleam00/Archon' }],