File tree 3 files changed +9
-6
lines changed
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 {
29
29
30
30
@override
31
31
Widget build (BuildContext context) {
32
- // ignore: unused_element
33
32
TaskwarriorColorTheme tColors = Theme .of (context).extension < TaskwarriorColorTheme > ()! ;
33
+ // ignore: unused_element
34
34
void saveChanges () async {
35
35
var now = DateTime .now ().toUtc ();
36
36
modify.save (
Original file line number Diff line number Diff line change @@ -44,14 +44,12 @@ class ReportsView extends GetView<ReportsController> {
44
44
preferredSize: Size .fromHeight (height * 0.1 ),
45
45
child: TabBar (
46
46
controller: controller.tabController,
47
- labelColor: TaskWarriorColors .white,
48
- labelStyle: GoogleFonts .poppins (
49
- fontWeight: TaskWarriorFonts .medium,
50
- fontSize: TaskWarriorFonts .fontSizeSmall,
51
- ),
52
47
unselectedLabelStyle: GoogleFonts .poppins (
53
48
fontWeight: TaskWarriorFonts .light,
49
+ color: TaskWarriorColors .appBarUnSelectedIconsColorForReports
54
50
),
51
+ indicatorColor: tColors.purpleShade,
52
+ labelColor: TaskWarriorColors .white,
55
53
onTap: (value) {
56
54
controller.selectedIndex.value = value;
57
55
},
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ class TaskWarriorColors {
18
18
static Color deepPurpleAccent = Colors .deepPurpleAccent;
19
19
static Color deepPurple = Colors .deepPurple;
20
20
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
+
21
26
// Dark Theme Color Palette
22
27
static Color kprimaryBackgroundColor = Palette .kToDark.shade200;
23
28
static Color ksecondaryBackgroundColor =
You can’t perform that action at this time.
0 commit comments