style: added color to the scrollbar
mellbacon committed
May 21, 2023 at 11:58 UTC
37265307b46d6b7db34d8edd2e6c812f3017825d
1 file changed
+7
src/theme.scss
+7
@@ -12,6 +12,7 @@ $tab-container-height: 2rem;
12
--window-dropdownButtonHoverForeground: #ffffff;
13
--window-dropdownItemHoverBackground: #171717;
14
--window-dropdownItemHoverForeground: #ffffff;
15
+ --window-scrollbar-backgroundColor: #eeffff17;
16
17
--header-background: #2D2D2D;
18
--header-foreground: #ffffff;
@@ -173,6 +174,12 @@ html {
174
}
175
.cm-scroller {
176
background-color: var(--editor-background);
177
+ &::-webkit-scrollbar-thumb {
178
+ background-color: var(--window-scrollbar-backgroundColor);
179
+ &:hover {
180
+ background-color: #1b83ddb5;
181
+ }
182
+ }
183
}
184
.cm-cursor {
185
border-left-color: var(--window-foreground) !important;