Skip to content

Commit 6ea3e7b

Browse files
committed
Use theme for scrollbar handle color
1 parent 8fda1b5 commit 6ea3e7b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,11 @@ svg {
123123
flex-direction: column;
124124
flex-grow: 1;
125125
}
126+
127+
.os-scrollbar {
128+
/* https://kingsora.github.io/OverlayScrollbars/#:~:text=to%20read%20it.-,Styling,-OverlayScrollbars%20comes%20with */
129+
--os-handle-bg: rgb(var(--layer-bg-hover));
130+
--os-handle-bg-hover: rgb(var(--layer-bg-hover));
131+
--os-handle-bg-active: rgb(var(--layer-bg-hover));
132+
}
126133
</style>

0 commit comments

Comments
 (0)