Merge branch 'uat-2' of https://7o9o-lb-526275444.ap-south-1.elb.amazonaws.com/md.asif5/kmobile into uat-2
This commit is contained in:
@@ -3,7 +3,6 @@ import 'theme_type.dart';
|
||||
|
||||
class AppThemes {
|
||||
static ThemeData getLightTheme(ThemeType type) {
|
||||
// Define a seed color based on the theme type
|
||||
final Color seedColor;
|
||||
switch (type) {
|
||||
case ThemeType.green:
|
||||
@@ -16,12 +15,10 @@ class AppThemes {
|
||||
seedColor = Colors.blue;
|
||||
break;
|
||||
case ThemeType.violet:
|
||||
default:
|
||||
seedColor = Colors.deepPurple;
|
||||
break;
|
||||
}
|
||||
|
||||
// Create a ColorScheme from the seed color
|
||||
final colorScheme = ColorScheme.fromSeed(
|
||||
seedColor: seedColor,
|
||||
brightness: Brightness.light, // Explicitly set for a light theme
|
||||
|
Reference in New Issue
Block a user