diff --git a/packages/docusaurus-theme-classic/src/theme/Logo/index.tsx b/packages/docusaurus-theme-classic/src/theme/Logo/index.tsx index e6f94a67867d..33eb28e48eef 100644 --- a/packages/docusaurus-theme-classic/src/theme/Logo/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Logo/index.tsx @@ -33,7 +33,7 @@ const Logo = (props: Props): JSX.Element => { : {}; const sources = { light: useBaseUrl(logo.src), - dark: useBaseUrl(logo.srcDark), + dark: useBaseUrl(logo.srcDark || logo.src), }; return (