Skip to content

Instantly share code, notes, and snippets.

@vovaklh
Created October 3, 2022 10:48
Show Gist options
  • Save vovaklh/270b0be10c59f579e38f074b9e24b979 to your computer and use it in GitHub Desktop.
Save vovaklh/270b0be10c59f579e38f074b9e24b979 to your computer and use it in GitHub Desktop.
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