diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 0d927b399..775ff7cd6 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -54,8 +54,9 @@ const config = { navbar: { title: 'Corso', logo: { - alt: 'My Site Logo', + alt: 'Corso Logo', src: 'img/corso.svg', + srcDark: 'img/corso_white.svg', }, items: [ { @@ -108,6 +109,11 @@ const config = { ], copyright: `Copyright © ${new Date().getFullYear()}`, }, + colorMode: { + defaultMode: 'dark', + disableSwitch: true, + respectPrefersColorScheme: true, + }, prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, diff --git a/docs/static/img/corso_white.svg b/docs/static/img/corso_white.svg new file mode 100644 index 000000000..c0bc9b7fa --- /dev/null +++ b/docs/static/img/corso_white.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +