From 4224cfe45234083174d459a7254435e355885620 Mon Sep 17 00:00:00 2001 From: DGoiana Date: Fri, 2 Aug 2024 13:13:31 +0100 Subject: [PATCH] design changes and active mode --- packages/uni_ui/lib/cards/generic_card.dart | 4 +++- packages/uni_ui/lib/cards/schedule_card.dart | 1 + packages/uni_ui/lib/theme.dart | 6 ++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/uni_ui/lib/cards/generic_card.dart b/packages/uni_ui/lib/cards/generic_card.dart index 7b91e5de2..f23cc7c89 100644 --- a/packages/uni_ui/lib/cards/generic_card.dart +++ b/packages/uni_ui/lib/cards/generic_card.dart @@ -52,7 +52,9 @@ class GenericCard extends StatelessWidget { ], ), child: Padding( - padding: padding ?? const EdgeInsets.all(15), child: child), + padding: padding ?? + const EdgeInsets.symmetric(vertical: 15, horizontal: 25), + child: child), ), ), ), diff --git a/packages/uni_ui/lib/cards/schedule_card.dart b/packages/uni_ui/lib/cards/schedule_card.dart index 28c4026cb..0c4cc6092 100644 --- a/packages/uni_ui/lib/cards/schedule_card.dart +++ b/packages/uni_ui/lib/cards/schedule_card.dart @@ -126,6 +126,7 @@ class ScheduleCard extends StatelessWidget { ) ], ), + color: isActive ? Color.fromARGB(255, 40, 7, 9) : null, ); } } diff --git a/packages/uni_ui/lib/theme.dart b/packages/uni_ui/lib/theme.dart index 5cabffd31..968bb9fb4 100644 --- a/packages/uni_ui/lib/theme.dart +++ b/packages/uni_ui/lib/theme.dart @@ -19,10 +19,8 @@ const _textTheme = TextTheme( titleLarge: TextStyle(fontSize: 18, fontWeight: FontWeight.w400), titleMedium: TextStyle(fontSize: 18, fontWeight: FontWeight.w500), titleSmall: TextStyle(fontSize: 16, fontWeight: FontWeight.w300), - bodyLarge: - TextStyle(fontSize: 16, fontWeight: FontWeight.w400, color: darkRed), - bodyMedium: - TextStyle(fontSize: 14, fontWeight: FontWeight.w400, color: darkRed), + bodyLarge: TextStyle(fontSize: 16, fontWeight: FontWeight.w400), + bodyMedium: TextStyle(fontSize: 14, fontWeight: FontWeight.w400), bodySmall: TextStyle(fontSize: 13, fontWeight: FontWeight.w400), );