create project
This commit is contained in:
22
frontend/lib/theme/app_theme.dart
Normal file
22
frontend/lib/theme/app_theme.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'colors.dart';
|
||||
|
||||
class AppTheme {
|
||||
static ThemeData get light => ThemeData(
|
||||
useMaterial3: true,
|
||||
scaffoldBackgroundColor: AppColors.pageBg,
|
||||
colorScheme: ColorScheme.light(
|
||||
primary: AppColors.brand,
|
||||
secondary: AppColors.brandLight,
|
||||
),
|
||||
appBarTheme: const AppBarTheme(
|
||||
backgroundColor: Colors.transparent,
|
||||
elevation: 0,
|
||||
centerTitle: true,
|
||||
),
|
||||
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
|
||||
backgroundColor: Colors.transparent,
|
||||
elevation: 0,
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user