From d2941d6c2ffb42e3409b5c5d8957ebfefe37af55 Mon Sep 17 00:00:00 2001 From: Alpaq92 Date: Thu, 25 Jun 2026 14:05:09 +0200 Subject: [PATCH] style: slim, dark scrollbars to match the theme Replace the default chunky OS scrollbars with thin dark ones (transparent track, rounded grey thumb) via scrollbar-width/-color and ::-webkit-scrollbar. Co-Authored-By: Claude Sonnet 4.6 --- src/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/style.css b/src/style.css index c2b655e..5d65a28 100644 --- a/src/style.css +++ b/src/style.css @@ -1,6 +1,19 @@ /* ── Reset ─────────────────────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } +/* ── Scrollbars — slim, dark, to match the app chrome ──────────────────── */ +* { scrollbar-width: thin; scrollbar-color: #5e5e5e transparent; } +::-webkit-scrollbar { width: 11px; height: 11px; } +::-webkit-scrollbar-track { background: transparent; } +::-webkit-scrollbar-thumb { + background: #5a5a5a; + border: 3px solid transparent; /* breathing room → a slimmer-looking thumb */ + border-radius: 8px; + background-clip: padding-box; +} +::-webkit-scrollbar-thumb:hover { background: #787878; background-clip: padding-box; } +::-webkit-scrollbar-corner { background: transparent; } + html, body { height: 100%; overflow: hidden;