feat(ui): match avatar color other platforms (#933)

* feat(ui): match avatar color other platforms

* Update packages/web/src/components/UI/Avatar.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/web/src/components/DeviceInfoPanel.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Dan Ditomaso
2025-11-05 21:53:55 -05:00
committed by GitHub
co-authored by Copilot
parent 6aeaed988e
commit a00cb2098b
12 changed files with 130 additions and 56 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ export const MessagesPage = () => {
}}
>
<Avatar
text={node.user?.shortName ?? t("unknown.shortName")}
nodeNum={node.num}
className={cn(hasNodeError(node.num) && "text-red-500")}
showError={hasNodeError(node.num)}
showFavorite={node.isFavorite}
+1 -1
View File
@@ -152,7 +152,7 @@ const NodesPage = (): JSX.Element => {
{
content: (
<Avatar
text={shortName}
nodeNum={node.num}
showFavorite={node.isFavorite}
showError={hasNodeError(node.num)}
/>