@@ -5,6 +5,7 @@ import 'package:package_info_plus/package_info_plus.dart';
55import 'package:sizer/sizer.dart' ;
66import 'package:taskwarrior/config/app_settings.dart' ;
77import 'package:taskwarrior/config/taskwarriorcolors.dart' ;
8+ import 'package:taskwarrior/config/taskwarriorfonts.dart' ;
89import 'package:url_launcher/url_launcher.dart' ;
910
1011class AboutPage extends StatefulWidget {
@@ -59,8 +60,8 @@ class _AboutPageState extends State<AboutPage> {
5960 Text (
6061 "Taskwarrior" ,
6162 style: GoogleFonts .poppins (
62- fontWeight: FontWeight .bold,
63- fontSize: 18 ,
63+ fontWeight: TaskWarriorFonts .bold,
64+ fontSize: TaskWarriorFonts .fontSizeLarge ,
6465 color: AppSettings .isDarkMode
6566 ? TaskWarriorColors .white
6667 : TaskWarriorColors .black,
@@ -91,8 +92,8 @@ class _AboutPageState extends State<AboutPage> {
9192 TextSpan (
9293 text: 'Version: ' ,
9394 style: GoogleFonts .poppins (
94- fontWeight: FontWeight .bold,
95- fontSize: 15 ,
95+ fontWeight: TaskWarriorFonts .bold,
96+ fontSize: TaskWarriorFonts .fontSizeMedium ,
9697 color: AppSettings .isDarkMode
9798 ? TaskWarriorColors .white
9899 : TaskWarriorColors .black,
@@ -101,7 +102,7 @@ class _AboutPageState extends State<AboutPage> {
101102 TextSpan (
102103 text: appInfoLines[1 ],
103104 style: GoogleFonts .poppins (
104- fontSize: 15 ,
105+ fontSize: TaskWarriorFonts .fontSizeMedium ,
105106 color: AppSettings .isDarkMode
106107 ? TaskWarriorColors .white
107108 : TaskWarriorColors .black,
@@ -116,8 +117,8 @@ class _AboutPageState extends State<AboutPage> {
116117 TextSpan (
117118 text: 'Package: ' ,
118119 style: GoogleFonts .poppins (
119- fontWeight: FontWeight .bold,
120- fontSize: 15 ,
120+ fontWeight: TaskWarriorFonts .bold,
121+ fontSize: TaskWarriorFonts .fontSizeMedium ,
121122 color: AppSettings .isDarkMode
122123 ? TaskWarriorColors .white
123124 : TaskWarriorColors .black,
@@ -126,7 +127,7 @@ class _AboutPageState extends State<AboutPage> {
126127 TextSpan (
127128 text: appInfoLines[0 ],
128129 style: GoogleFonts .poppins (
129- fontSize: 15 ,
130+ fontSize: TaskWarriorFonts .fontSizeMedium ,
130131 color: AppSettings .isDarkMode
131132 ? TaskWarriorColors .white
132133 : TaskWarriorColors .black,
@@ -149,8 +150,8 @@ class _AboutPageState extends State<AboutPage> {
149150 introduction,
150151 textAlign: TextAlign .center,
151152 style: GoogleFonts .poppins (
152- fontWeight: FontWeight .w500 ,
153- fontSize: 12 ,
153+ fontWeight: TaskWarriorFonts .medium ,
154+ fontSize: TaskWarriorFonts .fontSizeSmall ,
154155 color: AppSettings .isDarkMode
155156 ? TaskWarriorColors .white
156157 : TaskWarriorColors .black,
@@ -194,8 +195,8 @@ class _AboutPageState extends State<AboutPage> {
194195 label: Text (
195196 "GitHub" ,
196197 style: GoogleFonts .poppins (
197- fontWeight: FontWeight .w500 ,
198- fontSize: 12 ,
198+ fontWeight: TaskWarriorFonts .medium ,
199+ fontSize: TaskWarriorFonts .fontSizeSmall ,
199200 color: AppSettings .isDarkMode
200201 ? TaskWarriorColors .black
201202 : TaskWarriorColors .white,
@@ -232,8 +233,8 @@ class _AboutPageState extends State<AboutPage> {
232233 label: Text (
233234 "CCExtractor" ,
234235 style: GoogleFonts .poppins (
235- fontWeight: FontWeight .w500 ,
236- fontSize: 12 ,
236+ fontWeight: TaskWarriorFonts .medium ,
237+ fontSize: TaskWarriorFonts .fontSizeSmall ,
237238 color: AppSettings .isDarkMode
238239 ? TaskWarriorColors .black
239240 : TaskWarriorColors .white,
@@ -250,8 +251,8 @@ class _AboutPageState extends State<AboutPage> {
250251 "Eager to enhance this project? Visit our GitHub repository." ,
251252 textAlign: TextAlign .center,
252253 style: GoogleFonts .poppins (
253- fontWeight: FontWeight .w600 ,
254- fontSize: 12 ,
254+ fontWeight: TaskWarriorFonts .semiBold ,
255+ fontSize: TaskWarriorFonts .fontSizeSmall ,
255256 color: AppSettings .isDarkMode
256257 ? TaskWarriorColors .white
257258 : TaskWarriorColors .black,
0 commit comments