diff --git a/assets/images/background1.png b/assets/images/background1.png new file mode 100644 index 0000000..adb606a Binary files /dev/null and b/assets/images/background1.png differ diff --git a/assets/images/background2.png b/assets/images/background2.png new file mode 100644 index 0000000..3ffc458 Binary files /dev/null and b/assets/images/background2.png differ diff --git a/assets/images/background3.png b/assets/images/background3.png new file mode 100644 index 0000000..165f03f Binary files /dev/null and b/assets/images/background3.png differ diff --git a/assets/videos/basic_cut.mp4 b/assets/videos/basic_cut.mp4 deleted file mode 100644 index b325009..0000000 Binary files a/assets/videos/basic_cut.mp4 and /dev/null differ diff --git a/assets/videos/cold_img.mp4 b/assets/videos/cold_img.mp4 new file mode 100644 index 0000000..21a72ba Binary files /dev/null and b/assets/videos/cold_img.mp4 differ diff --git a/assets/videos/joy_img.mp4 b/assets/videos/joy_img.mp4 new file mode 100644 index 0000000..76198aa Binary files /dev/null and b/assets/videos/joy_img.mp4 differ diff --git a/assets/videos/know_img.mp4 b/assets/videos/know_img.mp4 new file mode 100644 index 0000000..560c019 Binary files /dev/null and b/assets/videos/know_img.mp4 differ diff --git a/assets/videos/thirst_img.mp4 b/assets/videos/thirst_img.mp4 new file mode 100644 index 0000000..796c6e0 Binary files /dev/null and b/assets/videos/thirst_img.mp4 differ diff --git a/lib/main.dart b/lib/main.dart index 477449f..49f8df1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -144,7 +144,7 @@ class _SmartGardenScreenState extends State { body: Container( decoration: BoxDecoration( image: DecorationImage( - image: AssetImage('assets/images/background.png'), + image: AssetImage('assets/images/background1.png'), fit: BoxFit.cover, ), ), @@ -271,10 +271,11 @@ class _SmartGardenScreenState extends State { width: 48, height: 48, decoration: BoxDecoration( - borderRadius: BorderRadius.circular(12), + color: Color(0xFFC8E6C9), // ← 연한 초록 배경 추가 + borderRadius: BorderRadius.circular(24), ), child: ClipRRect( - borderRadius: BorderRadius.circular(12), + borderRadius: BorderRadius.circular(24), child: Image.asset( 'assets/images/profile.png', fit: BoxFit.cover, @@ -288,7 +289,7 @@ class _SmartGardenScreenState extends State { const Text( '푸미', style: TextStyle( - fontSize: 20, // 16 → 18 + fontSize: 20, fontWeight: FontWeight.w600, color: Color(0xFF212121), ), @@ -296,7 +297,7 @@ class _SmartGardenScreenState extends State { Text( '스마트가든 AI 가이드', style: TextStyle( - fontSize: 18, // 12 → 14 + fontSize: 14, color: Color(0xFF757575), ), ), @@ -628,20 +629,21 @@ class _ChatBubble extends StatelessWidget { children: [ if (!message.isUser) ...[ Container( - width: 40, // 32 → 40 - height: 40, // 32 → 40 + width: 40, + height: 40, decoration: BoxDecoration( - borderRadius: BorderRadius.circular(8), + color: Color(0xFFC8E6C9), // ← 연한 초록 배경 + borderRadius: BorderRadius.circular(20), // ← 원형 (8 → 20) ), child: ClipRRect( - borderRadius: BorderRadius.circular(8), + borderRadius: BorderRadius.circular(20), // ← 원형 (8 → 20) child: Image.asset( 'assets/images/profile.png', fit: BoxFit.cover, ), ), ), - const SizedBox(width: 10), // 8 → 10 + const SizedBox(width: 10), ], Flexible( child: Container( @@ -651,16 +653,23 @@ class _ChatBubble extends StatelessWidget { ), decoration: BoxDecoration( color: message.isUser - ? Color(0xFFBBDEFB) - : Color(0xFFEEEEEE), + ? Color(0xFFE8F5E9) // ← 연한 녹색 + : Colors.white, // ← 하얀색 borderRadius: BorderRadius.circular(8), + boxShadow: [ + BoxShadow( + color: Colors.black.withOpacity(0.1), // ← 연한 그림자 + blurRadius: 4, + offset: const Offset(0, 2), + ), + ], ), child: SelectableText( message.text, style: TextStyle( fontSize: 20, color: message.isUser - ? Color(0xFF1976D2) + ? Color(0xFF000000) // ← 진한 초록 텍스트 : Color(0xFF424242), height: 1.4, ), diff --git a/pubspec.yaml b/pubspec.yaml index 642c98d..659a2d6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -68,12 +68,19 @@ flutter: - assets/videos/thinking.mp4 - assets/videos/thirst.mp4 - - assets/videos/basic_img.mp4 - assets/videos/angry_img.mp4 + - assets/videos/basic_img.mp4 + - assets/videos/cold_img.mp4 + - assets/videos/joy_img.mp4 + - assets/videos/know_img.mp4 - assets/videos/thinking_img.mp4 + - assets/videos/thirst_img.mp4 - assets/images/profile.png - assets/images/background.png + - assets/images/background1.png + - assets/images/background2.png + - assets/images/background3.png # To add assets to your application, add an assets section, like this: # assets: