55 lines
1.5 KiB
Dart
55 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
static ThemeData get darkTheme {
|
|
return ThemeData.dark(useMaterial3: true).copyWith(
|
|
scaffoldBackgroundColor: const Color(0xFF0D0D0D),
|
|
appBarTheme: const AppBarTheme(
|
|
backgroundColor: Colors.transparent,
|
|
elevation: 0,
|
|
centerTitle: true,
|
|
),
|
|
colorScheme: const ColorScheme.dark(
|
|
primary: Color(0xFF00E5FF),
|
|
secondary: Color(0xFFFF2A2A),
|
|
surface: Color(0xFF1A1A1A),
|
|
),
|
|
textTheme: const TextTheme(
|
|
displayLarge: TextStyle(
|
|
fontSize: 140,
|
|
fontWeight: FontWeight.w900,
|
|
color: Colors.white,
|
|
letterSpacing: -4.0,
|
|
),
|
|
displayMedium: TextStyle(
|
|
fontSize: 80,
|
|
fontWeight: FontWeight.w800,
|
|
color: Colors.white,
|
|
letterSpacing: -2.0,
|
|
),
|
|
headlineLarge: TextStyle(
|
|
fontSize: 48,
|
|
fontWeight: FontWeight.bold,
|
|
color: Colors.white,
|
|
),
|
|
labelLarge: TextStyle(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w600,
|
|
color: Colors.white54,
|
|
letterSpacing: 2.0,
|
|
),
|
|
bodyLarge: TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w700,
|
|
color: Colors.white,
|
|
),
|
|
),
|
|
cardTheme: CardThemeData(
|
|
color: const Color(0xFF1A1A1A),
|
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
|
|
elevation: 4,
|
|
),
|
|
);
|
|
}
|
|
}
|