diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index ce3177e..d4f3dc6 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -99,9 +99,8 @@ const config: Config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
- title: 'Документация Ely.by',
logo: {
- alt: 'Логотип Ely.by',
+ alt: 'Документация Ely.by',
src: 'img/logo.svg',
},
items: [
diff --git a/src/css/custom.css b/src/css/custom.css
index 41ce236..06d0b9e 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -29,3 +29,7 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
+/* The logo is monochrome: #1c1c1c turns into #e3e3e3, the navbar text color of the dark theme */
+[data-theme='dark'] .navbar__logo img {
+ filter: invert(1);
+}
diff --git a/static/img/logo.svg b/static/img/logo.svg
index 9db6d0d..eaae6cb 100644
--- a/static/img/logo.svg
+++ b/static/img/logo.svg
@@ -1 +1 @@
-
\ No newline at end of file
+