Skip to content

Commit

Permalink
fix: app bar colors for reports_view.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
SGI-CAPP-AT2 committed Dec 24, 2024
1 parent 50511f3 commit 5e5d866
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/app/modules/reports/views/reports_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ class ReportsView extends GetView<ReportsController> {
preferredSize: Size.fromHeight(height * 0.1),
child: TabBar(
controller: controller.tabController,
labelColor: TaskWarriorColors.white,
labelStyle: GoogleFonts.poppins(
fontWeight: TaskWarriorFonts.medium,
fontSize: TaskWarriorFonts.fontSizeSmall,
),
unselectedLabelStyle: GoogleFonts.poppins(
fontWeight: TaskWarriorFonts.light,
color: TaskWarriorColors.appBarUnSelectedIconsColorForReports
),
indicatorColor: tColors.purpleShade,
labelColor: TaskWarriorColors.white,
onTap: (value) {
controller.selectedIndex.value = value;
},
Expand Down
5 changes: 5 additions & 0 deletions lib/app/utils/constants/taskwarrior_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ class TaskWarriorColors {
static Color deepPurpleAccent = Colors.deepPurpleAccent;
static Color deepPurple = Colors.deepPurple;

// colors irrespective of theme
static Color appBarColor = Color(0x000);
static Color appBarTextColor = white;
static Color appBarUnSelectedIconsColorForReports = Color(0xFF48454E);

// Dark Theme Color Palette
static Color kprimaryBackgroundColor = Palette.kToDark.shade200;
static Color ksecondaryBackgroundColor =
Expand Down

0 comments on commit 5e5d866

Please sign in to comment.