From 71b67ccf49d84fa1f55ff1379ff01b943035a868 Mon Sep 17 00:00:00 2001 From: Ular Kimsanov Date: Wed, 4 Nov 2026 18:09:39 +0000 Subject: [PATCH] docs: the current top tab is a quiet grey pill again, not a green ring (#7055) * docs: the current top tab is a quiet grey pill again, not a green ring * docs: the Docs tab keeps its grey pill on docs pages, where Mintlify marks it .text-primary --- docs/custom.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/custom.css b/docs/custom.css index 714c2db9a3..270906d8b2 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -503,11 +503,11 @@ samp { color: var(--hf-heading); } - #navbar .nav-tabs-item[aria-current] { - background: var(--hf-brand-soft); - box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hf-brand) 55%, transparent); + /* Mintlify marks the current tab with aria-current, except the Docs dropdown, which gets .text-primary instead */ + #navbar .nav-tabs-item[aria-current], + #navbar .nav-tabs-item.text-primary { + background: color-mix(in srgb, var(--hf-heading) 9%, transparent); color: var(--hf-heading) !important; - font-weight: 600; } #navbar .nav-tabs-item:focus:not(:focus-visible) { @@ -1421,12 +1421,6 @@ h2 { clear: both; } -webkit-backdrop-filter: blur(20px); } -@media (min-width: 1024px) { - #navbar .nav-tabs-item.text-primary { - background: var(--hf-chip); - } -} - /* Headlines: hyperframes.dev's heavy, tight TT Norms. */ #page-title { font-size: clamp(2.25rem, 4vw, 3.5rem);