| ... | @@ -578,7 +578,9 @@ export default function Sidebar() { | ... | @@ -578,7 +578,9 @@ export default function Sidebar() { |
| 578 | size="sm" | 578 | size="sm" |
| 579 | isActive={isActive} | 579 | isActive={isActive} |
| 580 | className={`h-7 w-full translate-x-0 justify-start px-2 text-left hover:bg-accent hover:text-foreground ${ | 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" |
| 582 | }`} | 584 | }`} |
| 583 | onClick={() => { | 585 | onClick={() => { |
| 584 | void navigate({ | 586 | void navigate({ |
| ... | @@ -624,7 +626,11 @@ export default function Sidebar() { | ... | @@ -624,7 +626,11 @@ export default function Sidebar() { |
| 624 | /> | 626 | /> |
| 625 | </span> | 627 | </span> |
| 626 | )} | 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 | > |
| 628 | {formatRelativeTime(thread.createdAt)} | 634 | {formatRelativeTime(thread.createdAt)} |
| 629 | </span> | 635 | </span> |
| 630 | </div> | 636 | </div> |