diff --git a/native/chat/chat-thread-list-item.react.js b/native/chat/chat-thread-list-item.react.js
--- a/native/chat/chat-thread-list-item.react.js
+++ b/native/chat/chat-thread-list-item.react.js
@@ -142,21 +142,28 @@
let iconComponent;
if (nativeChatThreadListIcon === 'farcaster') {
+ const farcasterIconColor = data.threadInfo.currentUser.unread
+ ? colors.listForegroundLabel
+ : colors.listForegroundTertiaryLabel;
iconComponent = (
-
+
);
} else {
const iconName = nativeChatThreadListIcon === 'lock' ? 'lock' : 'server';
- iconComponent = ;
+ iconComponent = (
+
+
+
+ );
}
const threadDetails = React.useMemo(
() => (
- {iconComponent}
+ {iconComponent}
@@ -177,7 +184,6 @@
lastActivityStyle,
resolvedThreadInfo.uiName,
styles.header,
- styles.iconContainer,
styles.row,
styles.threadDetails,
threadNameStyle,
@@ -309,13 +315,7 @@
color: 'listForegroundLabel',
},
farcasterIcon: {
- backgroundColor: '#855DCD',
- borderRadius: 6,
- width: 12,
- height: 12,
- justifyContent: 'center',
- alignItems: 'center',
- opacity: 0.7,
+ marginRight: 3,
},
};
diff --git a/native/vectors/farcaster-logo.react.js b/native/vectors/farcaster-logo.react.js
--- a/native/vectors/farcaster-logo.react.js
+++ b/native/vectors/farcaster-logo.react.js
@@ -5,9 +5,10 @@
type Props = {
+size?: number,
+ +color?: string,
};
-function FarcasterLogo({ size = 200 }: Props): React.Node {
+function FarcasterLogo({ size = 200, color = 'white' }: Props): React.Node {
return React.useMemo(
() => (
),
- [size],
+ [size, color],
);
}
diff --git a/web/chat/chat-thread-list-item.react.js b/web/chat/chat-thread-list-item.react.js
--- a/web/chat/chat-thread-list-item.react.js
+++ b/web/chat/chat-thread-list-item.react.js
@@ -135,26 +135,25 @@
const iconClass = unread ? css.iconUnread : css.iconRead;
const webChatThreadListIcon = presentationDetails.webChatThreadListIcon;
- let icon;
+ let iconComponent;
+ let iconWrapperClass;
if (webChatThreadListIcon === 'farcaster') {
- icon = (
-
-
-
+ iconComponent = (
+
);
+ iconWrapperClass = css.farcasterIconWrapper;
+ } else if (webChatThreadListIcon === 'lock') {
+ iconComponent = (
+
+ );
+ iconWrapperClass = css.iconWrapper;
} else {
- let iconComponent;
- if (webChatThreadListIcon === 'lock') {
- iconComponent = (
-
- );
- } else {
- iconComponent = (
-
- );
- }
- icon = {iconComponent}
;
+ iconComponent = (
+
+ );
+ iconWrapperClass = css.iconWrapper;
}
+ const icon = {iconComponent}
;
const breadCrumbs = presentationDetails.threadAncestorLabel(ancestorPath);
diff --git a/web/chat/chat-thread-list.css b/web/chat/chat-thread-list.css
--- a/web/chat/chat-thread-list.css
+++ b/web/chat/chat-thread-list.css
@@ -297,18 +297,8 @@
padding: 7px 6px 2px 0;
}
-.farcasterIconBackground {
- padding: 2px;
- width: 12px;
- height: 12px;
- border-radius: 12px;
- background-color: #855dcd;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: 3px;
- margin-right: 3px;
- margin-bottom: -3px;
+.farcasterIconWrapper {
+ padding: 10px 3px 0 0;
}
.header {