Skip to content

Commit 37dc8b5

Browse files
committed
fix: app bar colors for reports_view.dart
1 parent 50511f3 commit 37dc8b5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

lib/app/modules/reports/views/reports_view.dart

+3-5
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,12 @@ class ReportsView extends GetView<ReportsController> {
4444
preferredSize: Size.fromHeight(height * 0.1),
4545
child: TabBar(
4646
controller: controller.tabController,
47-
labelColor: TaskWarriorColors.white,
48-
labelStyle: GoogleFonts.poppins(
49-
fontWeight: TaskWarriorFonts.medium,
50-
fontSize: TaskWarriorFonts.fontSizeSmall,
51-
),
5247
unselectedLabelStyle: GoogleFonts.poppins(
5348
fontWeight: TaskWarriorFonts.light,
49+
color: TaskWarriorColors.appBarUnSelectedIconsColorForReports
5450
),
51+
indicatorColor: tColors.purpleShade,
52+
labelColor: TaskWarriorColors.white,
5553
onTap: (value) {
5654
controller.selectedIndex.value = value;
5755
},

lib/app/utils/constants/taskwarrior_colors.dart

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ class TaskWarriorColors {
1818
static Color deepPurpleAccent = Colors.deepPurpleAccent;
1919
static Color deepPurple = Colors.deepPurple;
2020

21+
// colors irrespective of theme
22+
static Color appBarColor = Color(0x000);
23+
static Color appBarTextColor = white;
24+
static Color appBarUnSelectedIconsColorForReports = Color(0xFF48454E);
25+
2126
// Dark Theme Color Palette
2227
static Color kprimaryBackgroundColor = Palette.kToDark.shade200;
2328
static Color ksecondaryBackgroundColor =

0 commit comments

Comments
 (0)