enable color mode switch button

This commit is contained in:
Hossein Mehrabi 2023-03-23 21:28:57 +03:30
parent 95922cc678
commit 6fbca7b30c
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 8 additions and 1 deletions

View File

@ -39,12 +39,19 @@ const config = {
}), }),
], ],
], ],
staticDirectories: ["static"],
themeConfig: themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */ /** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({ ({
colorMode: {
defaultMode: "light",
disableSwitch: false,
},
navbar: { navbar: {
title: "Waku", title: "Waku",
logo: {
srcDark: "logo_white.svg",
},
items: [ items: [
{ {
type: 'docSidebar', type: 'docSidebar',