Created
October 3, 2022 10:48
-
-
Save vovaklh/270b0be10c59f579e38f074b9e24b979 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of '../theme.dart'; | |
ThemeData createLightTheme() { | |
return ThemeData( | |
textTheme: createTextTheme(), | |
brightness: Brightness.light, | |
scaffoldBackgroundColor: AppColors.white, | |
extensions: <ThemeExtension<dynamic>>[ | |
ThemeColors.light, | |
ThemeTextStyles.light, | |
ThemeGradients.light, | |
], | |
dialogTheme: DialogTheme( | |
backgroundColor: AppColors.white, | |
titleTextStyle: headline1.copyWith( | |
color: AppColors.black, | |
fontSize: 20, | |
fontWeight: FontWeight.w500, | |
), | |
contentTextStyle: headline1.copyWith( | |
color: AppColors.black, | |
), | |
), | |
focusColor: Colors.blue.withOpacity(0.2), | |
appBarTheme: AppBarTheme(backgroundColor: Colors.white), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment