You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.1KB

  1. import 'package:flutter/material.dart';
  2. import 'app_colors.dart';
  3. import 'styles_text.dart';
  4. class AppTheme {
  5. static ThemeData get lightThem {
  6. return ThemeData(
  7. brightness: Brightness.light,
  8. primaryColor: AppColors.primary1,
  9. backgroundColor: AppColors.background1,
  10. scaffoldBackgroundColor: AppColors.background1,
  11. visualDensity: VisualDensity.adaptivePlatformDensity,
  12. fontFamily: AppFont.appFont,
  13. indicatorColor: AppColors.white,
  14. inputDecorationTheme: const InputDecorationTheme(
  15. labelStyle: TextStyle(color: Colors.black),
  16. hintStyle: TextStyle(color: Colors.grey),
  17. ),
  18. textSelectionTheme: TextSelectionThemeData(
  19. cursorColor: AppColors.primary1,
  20. selectionColor: AppColors.neutral2,
  21. selectionHandleColor: AppColors.neutral2,
  22. ),
  23. colorScheme: ColorScheme.fromSwatch().copyWith(
  24. primary: AppColors.primary1,
  25. onSurface: Colors.black,
  26. ),
  27. splashColor: Colors.transparent,
  28. highlightColor: Colors.transparent,
  29. hoverColor: Colors.transparent,
  30. );
  31. }
  32. }