The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 17:15 UTC
Enhance active sidebar thread styling
- Add stronger active-state visuals for thread rows (accent bg, ring, medium text) - Improve active thread timestamp contrast for better readability
Julius Marminge committed
Feb 26, 2026 at 17:29 UTC
08866367606b4a78c082c492d16bd6b86a26aee9
1 file changed
+8
-2
apps/web/src/components/Sidebar.tsx
+8
-2
@@ -578,7 +578,9 @@ export default function Sidebar() {
578
size="sm"
579
isActive={isActive}
580
className={`h-7 w-full translate-x-0 justify-start px-2 text-left hover:bg-accent hover:text-foreground ${
581
- isActive ? "text-foreground" : "text-muted-foreground"
581
+ isActive
582
+ ? "bg-accent/85 text-foreground font-medium ring-1 ring-border/70 dark:bg-accent/55 dark:ring-border/50"
583
+ : "text-muted-foreground"
584
}`}
585
onClick={() => {
586
void navigate({
@@ -624,7 +626,11 @@ export default function Sidebar() {
626
/>
627
</span>
628
)}
627
- <span className="text-[10px] text-muted-foreground/40">
629
+ <span
630
+ className={`text-[10px] ${
631
+ isActive ? "text-foreground/65" : "text-muted-foreground/40"
632
+ }`}
633
+ >
634
{formatRelativeTime(thread.createdAt)}
635
</span>
636
</div>