The best way to control Claude Code, Codex and more from any computer or phone
fix(ui): preserve tool icon detail in light mode (#23896)
Julius Marminge committed
Oct 22, 2026 at 16:54 UTC
23bd753806eb9db5a315fbf9ac6563d355f20b3a
2 files changed
+7
-4
apps/mobile/src/features/threads/thread-work-log.tsx
+5
-2
@@ -1610,14 +1610,17 @@ function ToolActivityImage(props: {
1610
<View
1611
style={[
1612
StyleSheet.absoluteFill,
1613
- props.themeAppearance === "light" ? { filter: [{ brightness: 0.6 }] } : undefined,
1613
+ props.themeAppearance === "light" ? { filter: [{ brightness: 0.7 }] } : undefined,
1614
]}
1615
>
1616
<Image
1617
source={props.source}
1618
cachePolicy="memory-disk"
1619
contentFit="contain"
1620
- style={[StyleSheet.absoluteFill, { opacity: loaded ? 0.7 : 0 }]}
1620
+ style={[
1621
+ StyleSheet.absoluteFill,
1622
+ { opacity: loaded ? (props.themeAppearance === "dark" ? 0.7 : 1) : 0 },
1623
+ ]}
1624
onLoad={() => setLoaded(true)}
1625
onError={() => setFailed(true)}
1626
/>
apps/web/src/components/chat/TimelineToolActivityIcon.tsx
+2
-2
@@ -194,7 +194,7 @@ function ToolActivityImageIcon(props: {
194
className={cn(
195
props.className,
196
"inline-block overflow-hidden rounded-xs bg-background",
197
- props.muted && "opacity-70",
197
+ props.muted && "dark:opacity-70",
198
)}
199
>
200
<img
@@ -203,7 +203,7 @@ function ToolActivityImageIcon(props: {
203
aria-hidden
204
decoding="async"
205
referrerPolicy="no-referrer"
206
- className={cn("block size-full object-contain", props.muted && "light:brightness-60")}
206
+ className={cn("block size-full object-contain", props.muted && "light:brightness-70")}
207
onError={() => handleLoadError(displayedSrc)}
208
/>
209
</span>