From a67989f3f6bf9f544448220179b805edee704a28 Mon Sep 17 00:00:00 2001 From: Alvin Bryan Date: Fri, 20 Dec 2024 15:19:08 +0000 Subject: [PATCH] Old navbar color --- website/docusaurus.config.ts | 4 ++-- website/src/css/custom.css | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 9ee6b656fc..50460b5655 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -67,10 +67,10 @@ const config: Config = { indexName: 'getunleash', }, navbar: { + style: 'dark', logo: { alt: 'Unleash logo', - src: 'img/unleash_logo_dark.svg', - srcDark: 'img/unleash_logo_white.svg', + src: 'img/unleash_logo_white.svg', href: 'https://www.getunleash.io', }, items: [ diff --git a/website/src/css/custom.css b/website/src/css/custom.css index dc6801d851..4f6d270a37 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -89,6 +89,9 @@ html[data-theme="dark"] { .navbar { color: var(--unleash-navbar-font-color); font-family: Styrene B Web, sans-serif; + height: 3.75rem; + background-color: #1a4049; + color: var(--ifm-navbar-link-color); } .header-github-link { @@ -98,7 +101,6 @@ html[data-theme="dark"] { justify-content: space-between; gap: 10px; height: 100%; - padding: 0.25rem 0.5rem; } .header-demo-button { @@ -247,7 +249,7 @@ main .navbar__item:has(.navbar-separator) { width: 1px; height: 100%; - background: rgba(0, 0, 0, 0.3); + background: rgba(255, 255, 255, 0.3); padding: 0; margin-inline: var(--ifm-spacing-horizontal); }