Skip to content

Commit 4676ac2

Browse files
committed
fix: Scrolbar colors
1 parent cedc33b commit 4676ac2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/frontend/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import 'virtual:uno.css';
1111
import '@unocss/reset/tailwind.css';
1212
import 'overlayscrollbars/overlayscrollbars.css';
1313
import '~styles/themes.scss';
14-
import '~styles/globals.css';
14+
import '~styles/globals.scss';
1515
import '~styles/highlightjs.css';
1616

1717
import App from '~ui/pages/App';
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ code {
5757

5858
.os-scrollbar {
5959
--os-size: 10px;
60-
--os-track-border-radius: theme(borderRadius.lg);
61-
--os-handle-bg: rgba(255, 255, 255, 0.05);
62-
--os-handle-bg-hover: rgba(255, 255, 255, 0.10);
63-
--os-handle-bg-active: rgba(255, 255, 255, 0.07);
60+
--os-track-border-radius: theme('borderRadius.lg');
61+
--os-handle-bg: theme('colors.border/.15');
62+
--os-handle-bg-hover: theme('colors.border/.25');
63+
--os-handle-bg-active: theme('colors.border/.10');
6464
--os-handle-perpendicular-size-hover: 140%;
6565
--os-handle-perpendicular-size-active: 140%;
6666
--os-handle-interactive-area-offset: 1;

0 commit comments

Comments
 (0)