From 988d50e82da6445fd9b85c6d49c183608c49a0c3 Mon Sep 17 00:00:00 2001 From: GURKIRAT SINGH Date: Sat, 20 Jun 2026 15:10:08 +0530 Subject: [PATCH] style(docs): add custom green scrollbar (#434) Co-authored-by: Claude Opus 4.8 --- docs/custom.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/custom.css b/docs/custom.css index 5dafe857..2ede3267 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -57,3 +57,27 @@ button[data-testid*="search"], animation: search-pulse 2s ease-in-out infinite !important; } + +/* Custom scrollbar */ + +/* Firefox */ +* { + scrollbar-width: thin; + scrollbar-color: #16A34A transparent; +} + +/* WebKit: Chrome, Edge, Safari, mobile */ +*::-webkit-scrollbar { + width: 8px; + height: 8px; +} +*::-webkit-scrollbar-track { + background: transparent; +} +*::-webkit-scrollbar-thumb { + background: #16A34A; + border-radius: 4px; +} +*::-webkit-scrollbar-thumb:hover { + background: #15803D; +}