40 lines
1.2 KiB
Dart
40 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
// Colors
|
|
static const Color primaryColor = Color(0xFFFF7F50);
|
|
static const Color backgroundColor = Color(0xFFFAFAFA);
|
|
static const Color cardColor = Colors.white;
|
|
static const Color textPrimary = Colors.black;
|
|
static final Color textSecondary = Colors.grey.shade400;
|
|
static final Color dividerColor = Colors.grey.shade100;
|
|
|
|
// Theme Data
|
|
static ThemeData get lightTheme {
|
|
return ThemeData(
|
|
scaffoldBackgroundColor: backgroundColor,
|
|
primaryColor: primaryColor,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: primaryColor,
|
|
surface: backgroundColor,
|
|
),
|
|
fontFamily: 'Roboto',
|
|
useMaterial3: true,
|
|
dividerColor: Colors.transparent,
|
|
bottomSheetTheme: const BottomSheetThemeData(
|
|
backgroundColor: Colors.white,
|
|
modalBackgroundColor: Colors.white,
|
|
surfaceTintColor: Colors.transparent,
|
|
shape: RoundedRectangleBorder(
|
|
borderRadius: BorderRadius.vertical(top: Radius.circular(28)),
|
|
),
|
|
),
|
|
appBarTheme: const AppBarTheme(
|
|
backgroundColor: backgroundColor,
|
|
elevation: 0,
|
|
scrolledUnderElevation: 0,
|
|
),
|
|
);
|
|
}
|
|
}
|