Files
ai-contract-platform/mobile/lib/app/theme/app_theme.dart
T
2026-04-24 13:44:17 +08:00

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)),
),
),
);
}
}