diff --git a/lib/features/email/presentation/styles/calendar_event_information_widget_styles.dart b/lib/features/email/presentation/styles/calendar_event_information_widget_styles.dart index a617e746a..32fe47b79 100644 --- a/lib/features/email/presentation/styles/calendar_event_information_widget_styles.dart +++ b/lib/features/email/presentation/styles/calendar_event_information_widget_styles.dart @@ -1,8 +1,12 @@ +import 'package:core/presentation/extensions/color_extension.dart'; +import 'package:flutter/material.dart'; + class CalendarEventInformationWidgetStyles { static const double borderRadius = 16; static const double contentPadding = 16; static const double verticalMargin = 12; static const double horizontalMargin = 16; static const double calendarDateIconMargin = 16; + static const Color calendarDateIconBackgroundColor = AppColor.colorCalendarEventInformationBackground; } \ No newline at end of file diff --git a/lib/features/email/presentation/widgets/calendar_event_information_widget.dart b/lib/features/email/presentation/widgets/calendar_event_information_widget.dart index df0d10d32..6b8f0ef9c 100644 --- a/lib/features/email/presentation/widgets/calendar_event_information_widget.dart +++ b/lib/features/email/presentation/widgets/calendar_event_information_widget.dart @@ -39,7 +39,7 @@ class CalendarEventInformationWidget extends StatelessWidget { children: [ Container( padding: const EdgeInsets.all(CalendarEventInformationWidgetStyles.calendarDateIconMargin), - color: Colors.black.withOpacity(0.04), + color: CalendarEventInformationWidgetStyles.calendarDateIconBackgroundColor, child: CalendarDateIconWidget( calendarEvent: calendarEvent, width: double.infinity, @@ -52,7 +52,7 @@ class CalendarEventInformationWidget extends StatelessWidget { children: [ Container( padding: const EdgeInsets.all(CalendarEventInformationWidgetStyles.calendarDateIconMargin), - color: Colors.black.withOpacity(0.04), + color: CalendarEventInformationWidgetStyles.calendarDateIconBackgroundColor, child: CalendarDateIconWidget(calendarEvent: calendarEvent), ), Expanded(child: Container(color: Colors.white))