import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; class AppTheme { static const _primaryColor = Color(0xFF6C63FF); static const _accentColor = Color(0xFF00D9FF); static const _backgroundColor = Color(0xFF0D1117); static const _surfaceColor = Color(0xFF161B22); static const _cardColor = Color(0xFF21262D); static ThemeData get darkTheme { return ThemeData( useMaterial3: true, brightness: Brightness.dark, colorScheme: const ColorScheme.dark( primary: _primaryColor, secondary: _accentColor, surface: _surfaceColor, ), scaffoldBackgroundColor: _backgroundColor, cardColor: _cardColor, textTheme: GoogleFonts.jetBrainsMonoTextTheme( ThemeData.dark().textTheme, ), appBarTheme: const AppBarTheme( backgroundColor: _surfaceColor, elevation: 0, ), elevatedButtonTheme: ElevatedButtonThemeData( style: ElevatedButton.styleFrom( backgroundColor: _primaryColor, foregroundColor: Colors.white, padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 12), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(8), ), ), ), cardTheme: CardTheme( color: _cardColor, elevation: 0, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(12), side: BorderSide(color: Colors.white.withAlpha(25)), ), ), ); } }