From 34a117fccca66236eb95adc1012e4beded551ca4 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Thu, 12 Dec 2024 12:16:51 +0530 Subject: [PATCH] fix sidebar highlights --- docs/site/src/components/API/api-ref/refnav.js | 3 +-- docs/site/src/css/custom.css | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/site/src/components/API/api-ref/refnav.js b/docs/site/src/components/API/api-ref/refnav.js index e88b41d0233..c4637fef76e 100644 --- a/docs/site/src/components/API/api-ref/refnav.js +++ b/docs/site/src/components/API/api-ref/refnav.js @@ -41,10 +41,9 @@ const RefNav = (props) => { .map((method) => { return ( setPage(method.name)} > {method.name} diff --git a/docs/site/src/css/custom.css b/docs/site/src/css/custom.css index 59c5136435d..1ddaebaae8e 100644 --- a/docs/site/src/css/custom.css +++ b/docs/site/src/css/custom.css @@ -129,14 +129,14 @@ [data-theme="dark"] .menu__link--active { font-weight: bold; - color: white; + color: #3b82f6; } @media (min-width: 997px) { [data-theme="light"] .menu__link:hover, [data-theme="light"] .menu__link--active{ font-weight: bold; - color: var(--ifm-menu-color) + color: #3b82f6 } } @media (max-width: 996px) { @@ -148,7 +148,7 @@ [data-theme="light"] .menu__list-item-collapsible--active, [data-theme="light"] .menu__link--active { font-weight: bold; - color: white; + color: #3b82f6; } [data-theme="light"] .menu__list-item-collapsible:hover,