import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; class AppTheme { static final ThemeData lightTheme = ThemeData( useMaterial3: true, // ColorScheme을 사용하여 전체적인 색상 톤을 설정합니다. colorScheme: ColorScheme.fromSeed( seedColor: Colors.blue, // 버튼 등 강조 색상은 파란색 계열로 유지합니다. brightness: Brightness.light, // 밝은 테마로 설정합니다. background: Colors.white, // 앱의 전체 배경을 흰색으로 지정합니다. surface: Colors.white, // 카드 등 UI 요소의 표면 색을 흰색으로 지정합니다. ), // Scaffold의 기본 배경색을 흰색으로 명확하게 지정합니다. scaffoldBackgroundColor: Colors.white, // 폰트 테마를 설정하고, 기본 텍스트 색상을 검은색으로 지정합니다. textTheme: GoogleFonts.hedvigLettersSansTextTheme( ThemeData.light().textTheme, ).apply( bodyColor: Colors.black, // 일반 텍스트 색상 displayColor: Colors.black, // 제목 등 큰 텍스트 색상 ), // 앱 바 테마를 흰색 배경, 검은색 아이콘/글씨로 설정합니다. appBarTheme: const AppBarTheme( backgroundColor: Colors.white, foregroundColor: Colors.black, elevation: 0, // 그림자 제거 ), ); }