Skip to content

Commit

Permalink
fix(ui): make app bar text style consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Nov 14, 2024
1 parent 5e27fa0 commit 514009a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/screens/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class _HomePageState extends State<HomePage> {
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
fontFamily: 'paytoneOne',
fontWeight: FontWeight.w300,
),
),
),
Expand Down
9 changes: 8 additions & 1 deletion lib/screens/library_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ class _LibraryPageState extends State<LibraryPage> {

return Scaffold(
appBar: AppBar(
title: Text(context.l10n!.library),
title: Text(
context.l10n!.library,
style: TextStyle(
color: primaryColor,
fontFamily: 'paytoneOne',
fontWeight: FontWeight.w300,
),
),
),
body: Column(
children: [
Expand Down
9 changes: 8 additions & 1 deletion lib/screens/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ class _SearchPageState extends State<SearchPage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(context.l10n!.search),
title: Text(
context.l10n!.search,
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
fontFamily: 'paytoneOne',
fontWeight: FontWeight.w300,
),
),
),
body: SingleChildScrollView(
child: Column(
Expand Down
9 changes: 8 additions & 1 deletion lib/screens/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ class SettingsPage extends StatelessWidget {

return Scaffold(
appBar: AppBar(
title: Text(context.l10n!.settings),
title: Text(
context.l10n!.settings,
style: TextStyle(
color: primaryColor,
fontFamily: 'paytoneOne',
fontWeight: FontWeight.w300,
),
),
),
body: SingleChildScrollView(
child: Column(
Expand Down

0 comments on commit 514009a

Please sign in to comment.