From 9cf1d3e849bd0616dabe02d335e7311dbd8a6c8f Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 15 Oct 2026 15:04:01 +0200 Subject: [PATCH] fix: draw the text field in dialogs like the other inputs --- src/components/Dialog.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Dialog.tsx b/src/components/Dialog.tsx index e5a177b5..99fb47d7 100644 --- a/src/components/Dialog.tsx +++ b/src/components/Dialog.tsx @@ -72,7 +72,7 @@ export default function Dialog({ value={input.value} onChangeText={input.onChangeText} placeholder={input.placeholder} - placeholderTextColor={c.textMuted} + placeholderTextColor={c.mutedForeground} autoFocus onSubmitEditing={confirmDisabled ? undefined : onConfirm} accessibilityLabel={input.placeholder ?? title} @@ -143,15 +143,17 @@ function makeStyles(c: ThemePalette) { color: c.mutedForeground, // text-muted-foreground marginTop: spacing.sm, }, + // The shared Input look: 40 dp, transparent, radius 6. input: { ...typography.body, color: c.text, - backgroundColor: c.surface, + backgroundColor: 'transparent', borderWidth: 1, borderColor: c.border, borderRadius: radius.sm, paddingHorizontal: spacing.md, - paddingVertical: 10, + paddingVertical: 0, + minHeight: 40, marginTop: spacing.md, }, footer: {