From 81bfead8f1fc1dfedaf54704e7b79b51a8036d95 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 7 Dec 2025 20:21:45 -0800 Subject: [PATCH] style(mobile-app): make mnemonic input TextField fully transparent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add all border states as InputBorder.none - Set filled: false to remove background - Add cursorColor matching theme 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../auth/presentation/pages/import_mnemonic_page.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/mobile-app/lib/features/auth/presentation/pages/import_mnemonic_page.dart b/frontend/mobile-app/lib/features/auth/presentation/pages/import_mnemonic_page.dart index 2359d7dd..f3bb1afd 100644 --- a/frontend/mobile-app/lib/features/auth/presentation/pages/import_mnemonic_page.dart +++ b/frontend/mobile-app/lib/features/auth/presentation/pages/import_mnemonic_page.dart @@ -421,7 +421,7 @@ class _ImportMnemonicPageState extends ConsumerState { ), ), ), - // 输入框 + // 输入框 - 完全透明,只保留功能 Expanded( child: TextField( controller: _controllers[index], @@ -431,10 +431,16 @@ class _ImportMnemonicPageState extends ConsumerState { fontFamily: 'Inter', color: Color(0xFF5D4037), ), + cursorColor: const Color(0xFF8B5A2B), decoration: const InputDecoration( border: InputBorder.none, + enabledBorder: InputBorder.none, + focusedBorder: InputBorder.none, + errorBorder: InputBorder.none, + disabledBorder: InputBorder.none, contentPadding: EdgeInsets.symmetric(horizontal: 4, vertical: 10), isDense: true, + filled: false, ), textInputAction: index < 11 ? TextInputAction.next : TextInputAction.done, autocorrect: false,