Lift mobile thread-list-v2 cards off the light screen as white surfaces

The v2 cards used a black tint (2.5-4%) on the already-gray #f2f2f7 light
screen, reading dingy — the same failure just fixed in the web sidebar.
Follow the iOS grouped-list convention instead: cards are white surfaces on
the gray screen (quiet ready rows at 70% opacity so active work pops), and
the selected project-scope chip becomes a lifted white pill with a stronger
border while unscoped chips stay quiet outlines. Dark mode keeps the
original graphite tints via explicit dark: variants.

Verified on the iOS Simulator (iPhone 16 Pro, light + dark) against a
seeded local environment.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 committed 2026-07-22 15:12:41 +02:00
1 parent fbaf6b71dc
commit 7acccd6b1e
2 files changed
+11 -5

No files matched your search

+5 -3
View File
@@ -198,8 +198,8 @@ function ThreadListV2ProjectScope(props: {
className={cn(
"min-h-8 items-center justify-center rounded-lg border px-3",
props.selectedKey === null
? "border-border bg-subtle-strong"
: "border-black/15 dark:border-white/15",
? "border-black/20 bg-white dark:border-border dark:bg-subtle-strong"
: "border-black/10 dark:border-white/15",
)}
>
<Text className="text-sm font-t3-medium text-foreground">All</Text>
@@ -218,7 +218,9 @@ function ThreadListV2ProjectScope(props: {
onPress={() => props.onChange(selected ? null : key)}
className={cn(
"min-h-8 flex-row items-center gap-1.5 rounded-lg border py-1 pl-2 pr-3",
selected ? "border-border bg-subtle-strong" : "border-black/15 dark:border-white/15",
selected
? "border-black/20 bg-white dark:border-border dark:bg-subtle-strong"
: "border-black/10 dark:border-white/15",
)}
>
<ProjectFavicon
@@ -187,12 +187,16 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
style={({ pressed }) => ({ opacity: pressed ? 0.7 : 1 })}
>
<View className="bg-screen px-4 py-1">
{/* Light cards lift OFF the gray screen as white surfaces (iOS
grouped-list convention — a darker gray tint on the gray screen
reads dingy); quiet ready rows sit at partial opacity so active
work pops. Dark keeps the original graphite tints. */}
<View
className={cn(
"overflow-hidden",
status === "ready"
? "bg-black/[0.025] dark:bg-white/[0.025]"
: "bg-black/[0.04] dark:bg-white/[0.04]",
? "bg-white/65 dark:bg-white/[0.025]"
: "bg-white dark:bg-white/[0.04]",
)}
style={{ borderRadius: 12, borderCurve: "continuous", minHeight: 84 }}
>