This commit is contained in:
2026-03-08 23:28:56 +01:00
parent 84cc40b472
commit 8556a80868

View File

@@ -128,6 +128,38 @@ pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
}
/* Compact scrollbars that respect light/dark mode */
* {
scrollbar-width: thin;
scrollbar-color: hsl(var(--muted-foreground) / 0.35) transparent;
}
.dark * {
scrollbar-color: hsl(var(--muted-foreground) / 0.4) transparent;
}
*::-webkit-scrollbar {
width: 6px;
height: 6px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: hsl(var(--muted-foreground) / 0.35);
border-radius: 3px;
}
*::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground) / 0.5);
}
*::-webkit-scrollbar-corner {
background: transparent;
}
.dark *::-webkit-scrollbar-thumb {
background: hsl(var(--muted-foreground) / 0.4);
}
.dark *::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground) / 0.55);
}
@layer base {
:root {
--background: 0 0% 100%;