Skip to content

Commit

Permalink
style: improve calendar header
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed Jan 26, 2025
1 parent fc8f759 commit dab2615
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions lib/features/calendar/ui/pages/day_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,19 @@ class _DayViewWidgetState extends ConsumerState<DayViewWidget> {
showHalfHours: true,
heightPerMinute: _heightPerMinute,
keepScrollOffset: true,
initialDay: DateTime.now(),
headerStyle: HeaderStyle(
headerTextStyle: chartTitleStyleMonospace.copyWith(
fontWeight: FontWeight.w400,
color: context.colorScheme.primary,
),
decoration: BoxDecoration(
color: context.colorScheme.primaryContainer,
color: context.colorScheme.surfaceContainer,
),
leftIconConfig: IconDataConfig(
color: context.colorScheme.primary,
),
rightIconConfig: IconDataConfig(
color: context.colorScheme.primary,
),
),
dateStringBuilder: (date, {DateTime? secondaryDate}) => date.ymwd,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: lotti
description: Achieve your goals and keep your data private with Lotti.
publish_to: 'none'
version: 0.9.564+2852
version: 0.9.565+2853

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit dab2615

Please sign in to comment.