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,
|
||||
),
|
||||
);
|
||||
}
|
||||
13
frontend/lib/theme/colors.dart
Normal file
13
frontend/lib/theme/colors.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppColors {
|
||||
static const brand = Color(0xFFFF6B35);
|
||||
static const brandLight = Color(0xFFFF9F5B);
|
||||
static const brandBg = Color(0xFFFFF0E8);
|
||||
static const income = Color(0xFF34C759);
|
||||
static const expense = Color(0xFFFF3B30);
|
||||
static const textPrimary = Color(0xFF1C1C1E);
|
||||
static const textSecondary = Color(0xFF8E8E93);
|
||||
static const cardBg = Color(0xA6FFFFFF);
|
||||
static const pageBg = Color(0xFFF2F2F7);
|
||||
}
|
||||
Reference in New Issue
Block a user