mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
fix(ui): scrollbar visible in light mode
- Add light mode scrollbar thumb override with dark color - Previously scrollbar was white (rgba(255,255,255,0.08)), invisible on light bg - Now uses rgba(0,0,0,0.15) for light mode, visible on light backgrounds
This commit is contained in:
@@ -187,6 +187,16 @@
|
|||||||
color-scheme: light;
|
color-scheme: light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Scrollbar - visible on light backgrounds */
|
||||||
|
:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(0, 0, 0, 0.15);
|
||||||
|
border-radius: var(--radius-full);
|
||||||
|
}
|
||||||
|
|
||||||
|
:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
/* Theme families override accent tokens while keeping shared surfaces/layout. */
|
/* Theme families override accent tokens while keeping shared surfaces/layout. */
|
||||||
:root[data-theme="openknot"] {
|
:root[data-theme="openknot"] {
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user