Skip to content

Commit

Permalink
style: matched flashcard style to new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
SethCohen committed Mar 14, 2023
1 parent ec34ee9 commit b1396d1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions src/lib/themes/comfy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,25 @@ final comfyTheme = ThemeData(
elevation: 0,
color: Color(0xFF425366),
surfaceTintColor: Colors.transparent),
progressIndicatorTheme: const ProgressIndicatorThemeData(
color: Color(0xFFF8CDC6),
linearTrackColor: Color(0xFF4A5B6E),
),
textTheme: const TextTheme(
displayLarge: TextStyle(color: Color(0xFFF5EFEE)),
displayMedium: TextStyle(color: Color(0xFFF5EFEE)),
displaySmall: TextStyle(color: Color(0xFFF5EFEE)),
headlineLarge: TextStyle(color: Color(0xFFF5EFEE)),
headlineMedium: TextStyle(color: Color(0xFFF5EFEE)),
headlineSmall: TextStyle(color: Color(0xFFF5EFEE)),
titleLarge: TextStyle(color: Color(0xFFF5EFEE)),
titleMedium: TextStyle(color: Color(0xFFF5EFEE)),
titleSmall: TextStyle(color: Color(0xFFF5EFEE)),
labelLarge: TextStyle(color: Color(0xFFF5EFEE)),
labelMedium: TextStyle(color: Color(0xFFF5EFEE)),
labelSmall: TextStyle(color: Color(0xFFF5EFEE)),
bodyLarge: TextStyle(color: Color(0xFFF5EFEE)),
bodyMedium: TextStyle(color: Color(0xFFF5EFEE)),
bodySmall: TextStyle(color: Color(0xFFF5EFEE)),
),
);
1 change: 0 additions & 1 deletion src/lib/widgets/flashcard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class _FlashcardState extends State<Flashcard> {
@override
Widget build(BuildContext context) {
return Card(
color: const Color(0XFF121212),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Expand Down

0 comments on commit b1396d1

Please sign in to comment.