Skip to content
TypeScript

fix(mobile): disabled send button is readable in Material You dark (#23155)

RVZO6549b651bf96f
diff --git a/apps/mobile/src/components/ComposerToolbar.tsx b/apps/mobile/src/components/ComposerToolbar.tsx
index 75e167fae66..cabaabd64a2 100644
--- a/apps/mobile/src/components/ComposerToolbar.tsx
+++ b/apps/mobile/src/components/ComposerToolbar.tsx
@@ -274,7 +274,7 @@ export function ComposerActionButton(props: {
props.variant === "danger"
? "bg-danger"
: props.disabled
- ? "bg-primary/15"
+ ? "bg-foreground/12"
: "bg-primary",
)}
>
@@ -283,7 +283,11 @@ export function ComposerActionButton(props: {
size={props.size === "large" ? Math.round(20 * scale) : smallIconSize}
weight="semibold"
tintColorClassName={
- props.variant === "danger" ? "accent-danger-foreground" : "accent-primary-foreground"
+ props.variant === "danger"
+ ? "accent-danger-foreground"
+ : props.disabled
+ ? "accent-foreground/38"
+ : "accent-primary-foreground"
}
type="monochrome"
/>