From b1396d13738c2a0933d290c4694a4849f08b81d9 Mon Sep 17 00:00:00 2001 From: SethCohen Date: Tue, 14 Mar 2023 04:59:09 -0400 Subject: [PATCH] style: matched flashcard style to new theme --- src/lib/themes/comfy.dart | 21 +++++++++++++++++++++ src/lib/widgets/flashcard.dart | 1 - 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/lib/themes/comfy.dart b/src/lib/themes/comfy.dart index 0154c94..1a4e81d 100644 --- a/src/lib/themes/comfy.dart +++ b/src/lib/themes/comfy.dart @@ -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)), + ), ); diff --git a/src/lib/widgets/flashcard.dart b/src/lib/widgets/flashcard.dart index d45f3bc..05bf1ba 100644 --- a/src/lib/widgets/flashcard.dart +++ b/src/lib/widgets/flashcard.dart @@ -32,7 +32,6 @@ class _FlashcardState extends State { @override Widget build(BuildContext context) { return Card( - color: const Color(0XFF121212), child: Column( mainAxisSize: MainAxisSize.min, children: [