From 0872bbd0484daaaf42ba9f9c6df1ceceed1fca44 Mon Sep 17 00:00:00 2001 From: Rahul Yadav Date: Wed, 23 Oct 2024 21:32:18 +0530 Subject: [PATCH] style: update scrollbar --- src/styles/global.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/styles/global.scss b/src/styles/global.scss index 9a92a84..6aacb98 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -79,6 +79,9 @@ body { *::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background-color: #000000; + [data-theme='light'] & { + background-color: #f7f7f7; + } } *::-webkit-scrollbar {