From a5674bd69b1e545ae152fb2aa690664d226c03b2 Mon Sep 17 00:00:00 2001 From: prisis Date: Tue, 10 Oct 2023 14:29:41 +0200 Subject: [PATCH] feat: added new scrollbar --- renderer/index.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/renderer/index.css b/renderer/index.css index 5ee55cd..9483cb5 100644 --- a/renderer/index.css +++ b/renderer/index.css @@ -6,6 +6,27 @@ --cursor-color: rgb(132, 204, 22); } +/* Works on Firefox */ +* { + scrollbar-width: thin; + scrollbar-color: #18181b #ffffff; +} + +/* Works on Chrome, Edge, and Safari */ +*::-webkit-scrollbar { + width: 12px; +} + +*::-webkit-scrollbar-track { + background: #ffffff; +} + +*::-webkit-scrollbar-thumb { + background-color: #18181b; + border-radius: 20px; + border: 3px solid #ffffff; +} + html { scroll-behavior: smooth; }