45 lines
1.4 KiB
Dart
45 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
static const Color gradientStart = Color(0xFFE77544);
|
|
static const Color gradientEnd = Color(0xFF542E86);
|
|
static const Color orange = Color(0xFFFF6B2D);
|
|
static const Color blue = Color(0xFF00AEEF);
|
|
static const Color purple = Color(0xFF6A00FF);
|
|
static const Color darkBlue = Color(0xFF2C1E66);
|
|
|
|
static ThemeData get theme {
|
|
return ThemeData(
|
|
fontFamily: 'Coolvetica',
|
|
primaryColor: orange,
|
|
scaffoldBackgroundColor: Colors.white,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: orange,
|
|
primary: orange,
|
|
secondary: blue,
|
|
surface: purple,
|
|
background: Colors.white,
|
|
onPrimary: Colors.white,
|
|
onSecondary: Colors.white,
|
|
onSurface: Colors.black,
|
|
brightness: Brightness.light,
|
|
),
|
|
textTheme: const TextTheme(
|
|
headlineLarge: TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.bold,
|
|
color: Colors.black,
|
|
),
|
|
bodyMedium: TextStyle(fontSize: 16, color: Colors.black),
|
|
),
|
|
appBarTheme: const AppBarTheme(
|
|
backgroundColor: Colors.transparent,
|
|
elevation: 0,
|
|
foregroundColor: Colors.white, // Text and icon color
|
|
),
|
|
floatingActionButtonTheme: const FloatingActionButtonThemeData(
|
|
backgroundColor: Color(0xFF6A00FF),
|
|
),
|
|
);
|
|
}
|
|
}
|