4a93bd1c44
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
791 B
Dart
30 lines
791 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
const AppTheme._();
|
|
|
|
static ThemeData light() {
|
|
const seed = Color(0xFF2F5BFF);
|
|
|
|
return ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: seed, brightness: Brightness.light),
|
|
scaffoldBackgroundColor: const Color(0xFFF6F8FC),
|
|
useMaterial3: true,
|
|
appBarTheme: const AppBarTheme(
|
|
centerTitle: false,
|
|
backgroundColor: Colors.transparent,
|
|
foregroundColor: Color(0xFF101828),
|
|
elevation: 0,
|
|
),
|
|
cardTheme: CardThemeData(
|
|
color: Colors.white,
|
|
elevation: 0,
|
|
shape: RoundedRectangleBorder(
|
|
borderRadius: BorderRadius.circular(20),
|
|
side: const BorderSide(color: Color(0xFFE4E7EC)),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|