3차 수정

This commit is contained in:
2026-06-18 17:11:11 +09:00
parent 7a7d25fc9b
commit 7325b47d81
10 changed files with 30 additions and 14 deletions

View File

@@ -144,7 +144,7 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
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<SmartGardenScreen> {
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<SmartGardenScreen> {
const Text(
'푸미',
style: TextStyle(
fontSize: 20, // 16 → 18
fontSize: 20,
fontWeight: FontWeight.w600,
color: Color(0xFF212121),
),
@@ -296,7 +297,7 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
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,
),