cpd_app_gruppe_finanzplaner/lib/theme/theme_constants.dart

63 lines
2.5 KiB
Dart
Raw Permalink Normal View History

import 'package:flutter/material.dart';
2023-06-21 21:35:27 +02:00
final grey200 = Colors.grey[200];
final grey300 = Colors.grey[300];
final grey400 = Colors.grey[400];
final grey700 = Colors.grey[700];
final grey800 = Colors.grey[800];
final grey600 = Colors.grey[600];
2023-06-17 03:09:31 +02:00
final ThemeData lightTheme = ThemeData(
scaffoldBackgroundColor: Colors.grey[100],
textTheme: const TextTheme(
2023-06-21 21:35:27 +02:00
displayLarge: (TextStyle(color: Colors.black87)),
2023-06-17 03:09:31 +02:00
displayMedium: (TextStyle(color: Colors.black87)),
2023-06-21 21:35:27 +02:00
displaySmall: (TextStyle(color: Colors.black87)),
labelLarge: (TextStyle(color: Colors.black87)),
labelMedium: (TextStyle(color: Colors.black87)),
labelSmall: (TextStyle(color: Colors.black87)),
headlineLarge: (TextStyle(color: Colors.black87)),
headlineMedium: (TextStyle(color: Colors.black87)),
headlineSmall: (TextStyle(color: Colors.black87)),
titleLarge: (TextStyle(color: Colors.black87)),
titleMedium: (TextStyle(color: Colors.black87)),
titleSmall: (TextStyle(color: Colors.black87)),
2023-06-17 03:09:31 +02:00
bodyLarge: (TextStyle(color: Colors.black54)),
2023-06-21 21:35:27 +02:00
bodyMedium: (TextStyle(color: Colors.black54)),
bodySmall: (TextStyle(color: Colors.black54))),
2023-06-17 03:09:31 +02:00
brightness: Brightness.light,
shadowColor: Colors.grey[300],
cardColor: Colors.black87,
unselectedWidgetColor: Colors.black54,
fontFamily: "Montserrat",
2023-06-21 21:35:27 +02:00
buttonTheme: ButtonThemeData(
buttonColor: Colors.grey[100], textTheme: ButtonTextTheme.primary),
2023-06-17 03:09:31 +02:00
);
2023-06-17 03:09:31 +02:00
final ThemeData darkTheme = ThemeData(
textTheme: const TextTheme(
2023-06-21 21:35:27 +02:00
displayLarge: (TextStyle(color: Colors.white70)),
displayMedium: (TextStyle(color: Colors.white70)),
displaySmall: (TextStyle(color: Colors.white70)),
labelLarge: (TextStyle(color: Colors.white70)),
labelMedium: (TextStyle(color: Colors.white70)),
labelSmall: (TextStyle(color: Colors.white70)),
headlineLarge: (TextStyle(color: Colors.white70)),
headlineMedium: (TextStyle(color: Colors.white70)),
headlineSmall: (TextStyle(color: Colors.white70)),
titleLarge: (TextStyle(color: Colors.white70)),
titleMedium: (TextStyle(color: Colors.white70)),
titleSmall: (TextStyle(color: Colors.white70)),
bodyLarge: (TextStyle(color: Colors.white54)),
bodyMedium: (TextStyle(color: Colors.white54)),
bodySmall: (TextStyle(color: Colors.white54)),
2023-06-17 03:09:31 +02:00
),
shadowColor: Colors.grey[700],
fontFamily: "Montserrat",
2023-06-17 03:09:31 +02:00
cardColor: Colors.white70,
unselectedWidgetColor: Colors.white54,
brightness: Brightness.dark,
2023-06-21 21:35:27 +02:00
buttonTheme: ButtonThemeData(
2023-06-17 03:09:31 +02:00
buttonColor: Colors.grey[900],
),
2023-06-21 21:35:27 +02:00
);