Skip to content

Commit 549b651

Browse files
RVZO6claudemaria-rcks
authored
fix(mobile): disabled send button is readable in Material You dark (#23155)
Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: maria-rcks <[email protected]>
1 parent 207faa2 commit 549b651

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎apps/mobile/src/components/ComposerToolbar.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export function ComposerActionButton(props: {
274274
props.variant === "danger"
275275
? "bg-danger"
276276
: props.disabled
277-
? "bg-primary/15"
277+
? "bg-foreground/12"
278278
: "bg-primary",
279279
)}
280280
>
@@ -283,7 +283,11 @@ export function ComposerActionButton(props: {
283283
size={props.size === "large" ? Math.round(20 * scale) : smallIconSize}
284284
weight="semibold"
285285
tintColorClassName={
286-
props.variant === "danger" ? "accent-danger-foreground" : "accent-primary-foreground"
286+
props.variant === "danger"
287+
? "accent-danger-foreground"
288+
: props.disabled
289+
? "accent-foreground/38"
290+
: "accent-primary-foreground"
287291
}
288292
type="monochrome"
289293
/>

0 commit comments

Comments
 (0)