From 9444c725451bbfba9da5021e3878084c9d6aba79 Mon Sep 17 00:00:00 2001 From: dengfuping Date: Tue, 19 Nov 2024 21:34:17 +0800 Subject: [PATCH] improve(design): scrollbar color --- packages/design/src/reset.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/design/src/reset.css b/packages/design/src/reset.css index 8baecbfcd..b7a1de3a2 100644 --- a/packages/design/src/reset.css +++ b/packages/design/src/reset.css @@ -8,3 +8,11 @@ kbd, samp { font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; } + +* { + scrollbar-color: #e2e8f3 transparent; +} + +.rc-virtual-list-scrollbar-thumb { + background: #e2e8f3 !important; +}