This commit is contained in:
2026-04-08 02:42:59 +08:00
parent c259fb4504
commit 5d753d3fa4
4 changed files with 128 additions and 173 deletions

View File

@@ -152,27 +152,25 @@ class AppTheme {
),
),
// 輸入框 - 底部線條風格
// 輸入框 - Ghost Border 風格
inputDecorationTheme: InputDecorationTheme(
filled: true,
fillColor: AppColorScheme.lightSurfaceLow,
border: UnderlineInputBorder(
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(AppRadius.md),
borderSide: BorderSide(
color: AppColorScheme.lightOutlineVariant.withValues(alpha: 0.5),
width: 2,
),
),
enabledBorder: UnderlineInputBorder(
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(AppRadius.md),
borderSide: BorderSide(
color: AppColorScheme.lightOutlineVariant.withValues(alpha: 0.5),
width: 2,
),
),
focusedBorder: UnderlineInputBorder(
focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(AppRadius.md),
borderSide: const BorderSide(color: AppColorScheme.lightPrimary, width: 2),
borderSide: const BorderSide(color: AppColorScheme.lightPrimary, width: 1),
),
hintStyle: TextStyle(color: AppColorScheme.lightOnSurfaceMuted),
contentPadding: const EdgeInsets.symmetric(