🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(channel): brighten unread Channel titles instead of bolding them (#22888)
Arvin Xud5cc851d24ea
diff --git a/src/features/Channels/ChannelList.tsx b/src/features/Channels/ChannelList.tsxindex 95bf765d24f..3f31008b2fa 100644--- a/src/features/Channels/ChannelList.tsx+++ b/src/features/Channels/ChannelList.tsx@@ -85,8 +85,8 @@ const styles = stylex.create({// The first thread reaches up under the Channel's icon.firstElbow: { insetBlockStart: -8 },channel: { position: 'relative' },- // An unread Channel gets a pill on the row's leading edge and a bright, bold title, the way- // Discord marks it; an @mention adds a count badge. The accordion panel clips anything+ // An unread Channel gets a pill on the row's leading edge and a title one step brighter, the+ // way Discord marks it; an @mention adds a count badge. The accordion panel clips anything// outside the row, so the pill sits in the row's own inline padding.unreadPill: {pointerEvents: 'none',@@ -99,7 +99,6 @@ const styles = stylex.create({borderEndEndRadius: 4,backgroundColor: cssVar.colorText,},- unreadTitle: { fontWeight: 600 },mentionBadge: {display: 'inline-flex',alignItems: 'center',@@ -267,6 +266,7 @@ const EnabledChannelSection = ({ itemKey = 'channels', projectId }: ChannelSecticontextMenuItems={() => menuItems(channel)}data-channel-id={channel.id}href={buildWorkspaceAwarePath(path, slug)}+ title={channel.title}titleColor={unread ? cssVar.colorText : undefined}actions={() => (<DropdownMenu items={menuItems(channel)}>@@ -285,13 +285,6 @@ const EnabledChannelSection = ({ itemKey = 'channels', projectId }: ChannelSecti</span>) : undefined}- title={- unread ? (- <span {...stylex.props(styles.unreadTitle)}>{channel.title}</span>- ) : (- channel.title- )- }onClick={() => navigate(path)}icon={Hash}// The glyph fills its whole box, so it reads larger than other nav icons at 18px.