From 352f9f223b75ff52aa7ef2d7a1135a115e5c7cf1 Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Wed, 17 Sep 2025 13:32:46 +0200 Subject: [PATCH] fix: use proper font size --- .../lib/helpers/ui/common_bottom_sheets.dart | 16 ++++++------- firka/lib/ui/phone/pages/extras/extras.dart | 2 +- .../lib/ui/phone/pages/extras/main_error.dart | 2 +- .../ui/phone/pages/extras/main_wear_pair.dart | 6 ++--- .../lib/ui/phone/pages/home/home_grades.dart | 2 +- .../phone/pages/home/home_grades_subject.dart | 6 ++--- firka/lib/ui/phone/pages/home/home_main.dart | 8 +++---- .../ui/phone/pages/home/home_timetable.dart | 4 ++-- .../phone/pages/home/home_timetable_mo.dart | 6 ++--- .../ui/phone/screens/home/beta_screen.dart | 4 ++-- .../ui/phone/screens/home/home_screen.dart | 6 ++--- .../ui/phone/screens/login/login_screen.dart | 2 +- .../screens/settings/settings_screen.dart | 14 +++++------ .../lib/ui/phone/widgets/bottom_tt_icon.dart | 2 +- .../ui/phone/widgets/home_main_welcome.dart | 2 +- .../lib/ui/phone/widgets/info_board_item.dart | 4 ++-- firka/lib/ui/phone/widgets/lesson.dart | 24 +++++++++---------- firka/lib/ui/phone/widgets/lesson_big.dart | 14 +++++------ firka/lib/ui/phone/widgets/lesson_small.dart | 2 +- firka/lib/ui/phone/widgets/tt_day.dart | 2 +- 20 files changed, 64 insertions(+), 64 deletions(-) diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index a246f14d..745bf889 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -129,12 +129,12 @@ Future showLessonBottomSheet( ), Text( lesson.teacher ?? 'N/A', - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), ), Text( '${lesson.start.format(data.l10n, FormatMode.hmm)} - ${lesson.end.format(data.l10n, FormatMode.hmm)}', - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), ), ], @@ -225,7 +225,7 @@ Future showGradeBottomSheet( MediaQuery.of(context).size.width / 1.45, child: Text( grade.mode!.description!, - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textSecondary), ), ) @@ -265,17 +265,17 @@ Future showGradeBottomSheet( children: [ Text( "${data.l10n.tt_added}${grade.creationDate}", - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textPrimary), ), Text( "${data.l10n.grade_teacherName}${grade.teacher}", - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textPrimary), ), Text( "${data.l10n.grade_strValue}${grade.strValue}", - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textPrimary), ) ]) @@ -349,7 +349,7 @@ Future showAnnouncementBottomSheet( Text( info.date.format(data.l10n, FormatMode.yyyymmdd), textAlign: TextAlign.center, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary), ), ], @@ -390,7 +390,7 @@ Future showAnnouncementBottomSheet( width: MediaQuery.of(context).size.width / 1.4, child: Text( info.author, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary), ), ) diff --git a/firka/lib/ui/phone/pages/extras/extras.dart b/firka/lib/ui/phone/pages/extras/extras.dart index 471341cb..30ab9720 100644 --- a/firka/lib/ui/phone/pages/extras/extras.dart +++ b/firka/lib/ui/phone/pages/extras/extras.dart @@ -125,7 +125,7 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) { GestureDetector( child: Text( "v${data.packageInfo.version} ${isBeta ? "beta" : ""}", - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textTertiary)), onTap: () async { if (isDebug()) return; diff --git a/firka/lib/ui/phone/pages/extras/main_error.dart b/firka/lib/ui/phone/pages/extras/main_error.dart index 1b85a08e..dbf4d60b 100644 --- a/firka/lib/ui/phone/pages/extras/main_error.dart +++ b/firka/lib/ui/phone/pages/extras/main_error.dart @@ -34,7 +34,7 @@ void showErrorBottomSheet(BuildContext context, String err) { child: Center( child: Text( err, - style: appStyle.fonts.B_14R, + style: appStyle.fonts.B_16R, ), ), ), diff --git a/firka/lib/ui/phone/pages/extras/main_wear_pair.dart b/firka/lib/ui/phone/pages/extras/main_wear_pair.dart index 6f32bfc9..bbc40b35 100644 --- a/firka/lib/ui/phone/pages/extras/main_wear_pair.dart +++ b/firka/lib/ui/phone/pages/extras/main_wear_pair.dart @@ -72,7 +72,7 @@ void showWearBottomSheet( padding: const EdgeInsets.symmetric(horizontal: 6), child: Text( data.l10n.pairing_description, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), textAlign: TextAlign.center, ), @@ -87,7 +87,7 @@ void showWearBottomSheet( center: [ Text( data.l10n.pair, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary), ) ], @@ -120,7 +120,7 @@ void showWearBottomSheet( center: [ Text( data.l10n.cancel, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary), ) ], diff --git a/firka/lib/ui/phone/pages/home/home_grades.dart b/firka/lib/ui/phone/pages/home/home_grades.dart index 3eabb99d..263d7521 100644 --- a/firka/lib/ui/phone/pages/home/home_grades.dart +++ b/firka/lib/ui/phone/pages/home/home_grades.dart @@ -276,7 +276,7 @@ class _HomeGradesScreen extends FirkaState { lesson.type.name != TimetableConsts.event) .length .toString(), - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary), ), ], diff --git a/firka/lib/ui/phone/pages/home/home_grades_subject.dart b/firka/lib/ui/phone/pages/home/home_grades_subject.dart index 6f4ab165..55888af9 100644 --- a/firka/lib/ui/phone/pages/home/home_grades_subject.dart +++ b/firka/lib/ui/phone/pages/home/home_grades_subject.dart @@ -103,7 +103,7 @@ class _HomeGradesSubjectScreen extends FirkaState { SizedBox( width: MediaQuery.of(context).size.width / 1.45, child: Text(grade.topic ?? grade.type.description!, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary)), ), grade.mode?.description != null @@ -111,7 +111,7 @@ class _HomeGradesSubjectScreen extends FirkaState { width: MediaQuery.of(context).size.width / 1.45, child: Text( grade.mode!.description!, - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textSecondary), ), ) @@ -174,7 +174,7 @@ class _HomeGradesSubjectScreen extends FirkaState { // name isn't stored in the subject, so we need // to get *a* grade, and then get the teacher's // name from there :3 - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), ) ], diff --git a/firka/lib/ui/phone/pages/home/home_main.dart b/firka/lib/ui/phone/pages/home/home_main.dart index 8b765593..e7dddeeb 100644 --- a/firka/lib/ui/phone/pages/home/home_main.dart +++ b/firka/lib/ui/phone/pages/home/home_main.dart @@ -199,12 +199,12 @@ class _HomeMainScreen extends FirkaState { ), SizedBox(width: 6), Text(test.theme, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text(test.method.description ?? "N/A", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], ); @@ -246,7 +246,7 @@ class _HomeMainScreen extends FirkaState { SizedBox( width: MediaQuery.of(context).size.width / 1.45, child: Text(grade.topic ?? grade.type.description!, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary)), ), grade.mode?.description != null @@ -254,7 +254,7 @@ class _HomeMainScreen extends FirkaState { width: MediaQuery.of(context).size.width / 1.45, child: Text( grade.mode!.description!, - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textSecondary), ), ) diff --git a/firka/lib/ui/phone/pages/home/home_timetable.dart b/firka/lib/ui/phone/pages/home/home_timetable.dart index 30373451..319def2d 100644 --- a/firka/lib/ui/phone/pages/home/home_timetable.dart +++ b/firka/lib/ui/phone/pages/home/home_timetable.dart @@ -532,7 +532,7 @@ class _HomeTimetableScreen extends FirkaState Text( now!.format( widget.data.l10n, FormatMode.yyyymmddwedd), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), SizedBox(width: 4), Text("•", @@ -543,7 +543,7 @@ class _HomeTimetableScreen extends FirkaState now!.isAWeek() ? widget.data.l10n.a_week : widget.data.l10n.b_week, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), ], ), diff --git a/firka/lib/ui/phone/pages/home/home_timetable_mo.dart b/firka/lib/ui/phone/pages/home/home_timetable_mo.dart index 8fd5a0e4..285e91e8 100644 --- a/firka/lib/ui/phone/pages/home/home_timetable_mo.dart +++ b/firka/lib/ui/phone/pages/home/home_timetable_mo.dart @@ -149,7 +149,7 @@ class _HomeTimetableMonthlyScreen )), SizedBox(height: 4), Text(d.format(widget.data.l10n, FormatMode.d), - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: (d.weekday == DateTime.saturday || d.weekday == DateTime.sunday) ? appStyle.colors.errorText @@ -294,7 +294,7 @@ class _HomeTimetableMonthlyScreen ), SizedBox(height: 4), Text(d.format(widget.data.l10n, FormatMode.d), - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: (d.weekday == DateTime.saturday || d.weekday == DateTime.sunday) && lessonsToday.isEmpty @@ -422,7 +422,7 @@ class _HomeTimetableMonthlyScreen now! .format(widget.data.l10n, FormatMode.yyyymmmm) .toLowerCase(), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), GestureDetector( child: FirkaIconWidget( diff --git a/firka/lib/ui/phone/screens/home/beta_screen.dart b/firka/lib/ui/phone/screens/home/beta_screen.dart index 9ee3d140..8dd25fb7 100644 --- a/firka/lib/ui/phone/screens/home/beta_screen.dart +++ b/firka/lib/ui/phone/screens/home/beta_screen.dart @@ -75,7 +75,7 @@ class _BetaScreenState extends FirkaState { child: FirkaButton( text: widget.data.l10n.cancel, bgColor: appStyle.colors.buttonSecondaryFill, - fontStyle: appStyle.fonts.B_14R + fontStyle: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimaryLight), icon: Icon(Icons.close, color: appStyle.colors.textPrimaryLight), @@ -92,7 +92,7 @@ class _BetaScreenState extends FirkaState { bgColor: counter == 0 ? appStyle.colors.accent : appStyle.colors.secondary, - fontStyle: appStyle.fonts.B_14R + fontStyle: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimaryLight), icon: Icon(Icons.check, color: appStyle.colors.textPrimaryLight), diff --git a/firka/lib/ui/phone/screens/home/home_screen.dart b/firka/lib/ui/phone/screens/home/home_screen.dart index 20db710b..1287ccda 100644 --- a/firka/lib/ui/phone/screens/home/home_screen.dart +++ b/firka/lib/ui/phone/screens/home/home_screen.dart @@ -120,7 +120,7 @@ class _HomeScreenState extends FirkaState { SizedBox(width: 4), Text( widget.data.l10n.reauth, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .copyWith(color: appStyle.colors.warningText), ) ], @@ -211,7 +211,7 @@ class _HomeScreenState extends FirkaState { children: [ Text( widget.data.l10n.api_error, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .copyWith(color: appStyle.colors.errorText), ), SizedBox(width: 8), @@ -370,7 +370,7 @@ class _HomeScreenState extends FirkaState { SizedBox(width: 16), Text( widget.data.l10n.refreshing, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .copyWith(color: appStyle.colors.textPrimary), ) ], diff --git a/firka/lib/ui/phone/screens/login/login_screen.dart b/firka/lib/ui/phone/screens/login/login_screen.dart index ea26f69f..aa35b0dd 100644 --- a/firka/lib/ui/phone/screens/login/login_screen.dart +++ b/firka/lib/ui/phone/screens/login/login_screen.dart @@ -201,7 +201,7 @@ class _LoginScreenState extends FirkaState { const SizedBox(height: 8), Text( slides[index]['subtitle']! as String, - style: appStyle.fonts.B_14R.copyWith( + style: appStyle.fonts.B_16R.copyWith( color: appStyle.colors.textPrimary), softWrap: true, overflow: TextOverflow.visible, diff --git a/firka/lib/ui/phone/screens/settings/settings_screen.dart b/firka/lib/ui/phone/screens/settings/settings_screen.dart index 0351987f..1cb1a4b0 100644 --- a/firka/lib/ui/phone/screens/settings/settings_screen.dart +++ b/firka/lib/ui/phone/screens/settings/settings_screen.dart @@ -137,7 +137,7 @@ class _SettingsScreenState extends FirkaState { } cardWidgets.add(Text(item.title, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary))); widgets.add(GestureDetector( @@ -174,7 +174,7 @@ class _SettingsScreenState extends FirkaState { .apply(color: appStyle.colors.textPrimary)) ], right: [ Text(v == "0.0" ? "0" : v, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ]), onTap: () async { @@ -415,7 +415,7 @@ class _SettingsScreenState extends FirkaState { if (group == widget.data.l10n.s_ci_icon_g6) { pWidgets.add(Text(widget.data.l10n.s_ci_icon_g6_desc, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary))); } @@ -462,7 +462,7 @@ class _SettingsScreenState extends FirkaState { child: FirkaButton( text: widget.data.l10n.cancel, bgColor: appStyle.colors.buttonSecondaryFill, - fontStyle: appStyle.fonts.B_14R + fontStyle: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary)), onTap: () { Navigator.pop(context); @@ -472,7 +472,7 @@ class _SettingsScreenState extends FirkaState { child: FirkaButton( text: widget.data.l10n.save, bgColor: appStyle.colors.accent, - fontStyle: appStyle.fonts.B_14R + fontStyle: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondaryLight)), onTap: () async { if (settingAppIcon) return; @@ -736,7 +736,7 @@ void showSetDoubleSheet(BuildContext context, SettingsDouble setting, Center( child: Text( setting.title, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), )), Padding( @@ -771,7 +771,7 @@ void showSetDoubleSheet(BuildContext context, SettingsDouble setting, }), ), Text(setting.toRoundedString(), - style: appStyle.fonts.B_14R.apply( + style: appStyle.fonts.B_16R.apply( color: appStyle.colors.textPrimary)) ], ), diff --git a/firka/lib/ui/phone/widgets/bottom_tt_icon.dart b/firka/lib/ui/phone/widgets/bottom_tt_icon.dart index 78e7be86..236cf2a8 100644 --- a/firka/lib/ui/phone/widgets/bottom_tt_icon.dart +++ b/firka/lib/ui/phone/widgets/bottom_tt_icon.dart @@ -36,7 +36,7 @@ class BottomTimeTableNavIconWidget extends StatelessWidget { .apply(color: appStyle.colors.textPrimary)), Text( date.format(l10n, FormatMode.dd), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary), ) ], diff --git a/firka/lib/ui/phone/widgets/home_main_welcome.dart b/firka/lib/ui/phone/widgets/home_main_welcome.dart index 315d8f08..89afff44 100644 --- a/firka/lib/ui/phone/widgets/home_main_welcome.dart +++ b/firka/lib/ui/phone/widgets/home_main_welcome.dart @@ -104,7 +104,7 @@ class WelcomeWidget extends StatelessWidget { .copyWith(color: appStyle.colors.textPrimary)), const SizedBox(height: 2.0), Text(getSubtitle(dayCycle), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .copyWith(color: appStyle.colors.textSecondary)), ], ); diff --git a/firka/lib/ui/phone/widgets/info_board_item.dart b/firka/lib/ui/phone/widgets/info_board_item.dart index b5ebe85f..050504c3 100644 --- a/firka/lib/ui/phone/widgets/info_board_item.dart +++ b/firka/lib/ui/phone/widgets/info_board_item.dart @@ -48,13 +48,13 @@ class InfoBoardItemWidget extends StatelessWidget { width: MediaQuery.of(context).size.width / 1.4, child: Text( item.title, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textPrimary), ), ), Text( item.author, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textSecondary), ) ], diff --git a/firka/lib/ui/phone/widgets/lesson.dart b/firka/lib/ui/phone/widgets/lesson.dart index dc0a0da6..21b839ea 100644 --- a/firka/lib/ui/phone/widgets/lesson.dart +++ b/firka/lib/ui/phone/widgets/lesson.dart @@ -147,7 +147,7 @@ class LessonWidget extends StatelessWidget { : lesson.start .toLocal() .format(data.l10n, FormatMode.hmm), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), placeholderMode == true ? SizedBox() @@ -192,12 +192,12 @@ class LessonWidget extends StatelessWidget { ), SizedBox(width: 6), Text(test!.theme, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text(test!.method.description ?? "N/A", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], )); @@ -227,13 +227,13 @@ class LessonWidget extends StatelessWidget { shadow: false, left: [ Text(data.l10n.breakTxt, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text( "$preBreak ${preBreak == 1 ? data.l10n.starting_min : data.l10n.starting_min_plural}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], )); @@ -285,7 +285,7 @@ class LessonWidget extends StatelessWidget { isDismissed ? data.l10n.class_dismissed : "${emptyClass.start.toLocal().format(data.l10n, FormatMode.hmm)} - ${emptyClass.end.toLocal().format(data.l10n, FormatMode.hmm)}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ], )); @@ -300,13 +300,13 @@ class LessonWidget extends StatelessWidget { shadow: false, left: [ Text(data.l10n.breakTxt, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text( "$postBreak ${postBreak == 1 ? data.l10n.starting_min : data.l10n.starting_min_plural}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], )); @@ -321,13 +321,13 @@ class LessonWidget extends StatelessWidget { shadow: false, left: [ Text(data.l10n.breakTxt, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text( "$breakMins ${breakMins == 1 ? data.l10n.starting_min : data.l10n.starting_min_plural}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], )); @@ -342,13 +342,13 @@ class LessonWidget extends StatelessWidget { shadow: false, left: [ Text(data.l10n.breakTxt, - style: appStyle.fonts.B_14SB + style: appStyle.fonts.B_16SB .apply(color: appStyle.colors.textSecondary)) ], right: [ Text( "$breakMins ${breakMins == 1 ? data.l10n.starting_min : data.l10n.starting_min_plural}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textTertiary)) ], )); diff --git a/firka/lib/ui/phone/widgets/lesson_big.dart b/firka/lib/ui/phone/widgets/lesson_big.dart index c06ba49e..8bb3c86a 100644 --- a/firka/lib/ui/phone/widgets/lesson_big.dart +++ b/firka/lib/ui/phone/widgets/lesson_big.dart @@ -62,12 +62,12 @@ class LessonBigWidget extends StatelessWidget { children: [ Row(children: [ Text('-', - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ]), Row(children: [ Text('-', - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ]) ], @@ -125,7 +125,7 @@ class LessonBigWidget extends StatelessWidget { children: [ Row(children: [ Text('-', - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ]), Row(children: [ @@ -133,7 +133,7 @@ class LessonBigWidget extends StatelessWidget { nextLesson!.start .toLocal() .format(l10n, FormatMode.hmm), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ]) ], @@ -241,7 +241,7 @@ class LessonBigWidget extends StatelessWidget { Row( children: [ Text(lesson!.start.toLocal().format(l10n, FormatMode.hmm), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), Card( shadowColor: Colors.transparent, @@ -328,7 +328,7 @@ class LessonBigWidget extends StatelessWidget { prevLesson!.end .toLocal() .format(l10n, FormatMode.hmm), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), ], ), @@ -338,7 +338,7 @@ class LessonBigWidget extends StatelessWidget { nextLesson!.start .toLocal() .format(l10n, FormatMode.hmm), - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), ], ) diff --git a/firka/lib/ui/phone/widgets/lesson_small.dart b/firka/lib/ui/phone/widgets/lesson_small.dart index a04be9e2..08caa60b 100644 --- a/firka/lib/ui/phone/widgets/lesson_small.dart +++ b/firka/lib/ui/phone/widgets/lesson_small.dart @@ -58,7 +58,7 @@ class LessonSmallWidget extends StatelessWidget { ), Text( "${lesson.start.toLocal().format(l10n, FormatMode.hmm)} - ${lesson.end.toLocal().format(l10n, FormatMode.hmm)}", - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)), ], ) diff --git a/firka/lib/ui/phone/widgets/tt_day.dart b/firka/lib/ui/phone/widgets/tt_day.dart index a14ebdf4..93e9998c 100644 --- a/firka/lib/ui/phone/widgets/tt_day.dart +++ b/firka/lib/ui/phone/widgets/tt_day.dart @@ -46,7 +46,7 @@ class TimeTableDayWidget extends StatelessWidget { var event = events[i]; ttBody.add(FirkaCard(left: [ Text(event.name, - style: appStyle.fonts.B_14R + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary)) ])); }