File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ class TaskListItem extends StatelessWidget {
2929
3030 @override
3131 Widget build (BuildContext context) {
32- // ignore: unused_element
3332 TaskwarriorColorTheme tColors = Theme .of (context).extension < TaskwarriorColorTheme > ()! ;
33+ // ignore: unused_element
3434 void saveChanges () async {
3535 var now = DateTime .now ().toUtc ();
3636 modify.save (
Original file line number Diff line number Diff 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 },
Original file line number Diff line number Diff 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 = const Color (0xFF000000 );
23+ static Color appBarTextColor = white;
24+ static Color appBarUnSelectedIconsColorForReports = const Color (0xFF48454E );
25+
2126 // Dark Theme Color Palette
2227 static Color kprimaryBackgroundColor = Palette .kToDark.shade200;
2328 static Color ksecondaryBackgroundColor =
You can’t perform that action at this time.
0 commit comments