chore(site): fix scrollbar colors, update server command

This commit is contained in:
Nicholas Kissel 2026-01-27 22:17:32 -08:00 committed by Nathan Flurry
parent 6c7455d47d
commit fb27e0ca89
2 changed files with 26 additions and 4 deletions

View file

@ -224,7 +224,7 @@ export function FeatureGrid() {
application. application.
</p> </p>
<div className="mt-auto relative z-10 p-3 bg-black/40 rounded-lg border border-white/5 font-mono text-xs text-green-400"> <div className="mt-auto relative z-10 p-3 bg-black/40 rounded-lg border border-white/5 font-mono text-xs text-green-400">
$ sandbox-agent serve --port 4000 $ sandbox-agent server
</div> </div>
</div> </div>

View file

@ -12,6 +12,13 @@
@apply bg-accent/30 text-white; @apply bg-accent/30 text-white;
} }
/* Firefox scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: #3f3f46 transparent;
}
/* Webkit scrollbar */
::-webkit-scrollbar { ::-webkit-scrollbar {
@apply w-2 h-2; @apply w-2 h-2;
} }
@ -33,11 +40,26 @@
} }
/* Code block scrollbars */ /* Code block scrollbars */
pre::-webkit-scrollbar { pre, code, .overflow-x-auto {
@apply h-1.5; scrollbar-width: thin;
scrollbar-color: #52525b #18181b;
} }
pre::-webkit-scrollbar-thumb { pre::-webkit-scrollbar,
code::-webkit-scrollbar,
.overflow-x-auto::-webkit-scrollbar {
@apply h-2;
}
pre::-webkit-scrollbar-track,
code::-webkit-scrollbar-track,
.overflow-x-auto::-webkit-scrollbar-track {
@apply bg-zinc-900;
}
pre::-webkit-scrollbar-thumb,
code::-webkit-scrollbar-thumb,
.overflow-x-auto::-webkit-scrollbar-thumb {
@apply bg-zinc-600 rounded-full; @apply bg-zinc-600 rounded-full;
} }
} }