From d4b75f50f1b62da475625bf15e1eefafae2256d4 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 28 Oct 2026 22:42:09 +0100 Subject: [PATCH] Replace the navbar logo with the Ely.by wordmark --- docusaurus.config.ts | 3 +-- src/css/custom.css | 4 ++++ static/img/logo.svg | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) 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 +Ely.by Docs