Skip to content

Commit

Permalink
design changes and active mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DGoiana committed Dec 3, 2024
1 parent 6235b12 commit 4224cfe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion packages/uni_ui/lib/cards/generic_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
),
),
Expand Down
1 change: 1 addition & 0 deletions packages/uni_ui/lib/cards/schedule_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class ScheduleCard extends StatelessWidget {
)
],
),
color: isActive ? Color.fromARGB(255, 40, 7, 9) : null,
);
}
}
6 changes: 2 additions & 4 deletions packages/uni_ui/lib/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
);

Expand Down

0 comments on commit 4224cfe

Please sign in to comment.