Skip to content

Commit 00287b0

Browse files
committed
style(web): pair light and dark text colors for sidebar search role badges
1 parent 725cf20 commit 00287b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,11 @@ const SidebarSearchResultRow = memo(function SidebarSearchResultRow(props: {
17101710
{contentMatch ? (
17111711
<span className="truncate text-xs text-muted-foreground/85">
17121712
<span
1713-
className={contentMatch.source === "user" ? "text-blue-400" : "text-emerald-400"}
1713+
className={
1714+
contentMatch.source === "user"
1715+
? "text-blue-600 dark:text-blue-400"
1716+
: "text-emerald-600 dark:text-emerald-400"
1717+
}
17141718
>
17151719
{contentMatch.source === "user" ? "You:" : "Agent:"}
17161720
</span>{" "}

0 commit comments

Comments
 (0)