diff --git a/lib/common/view/audio_page_header.dart b/lib/common/view/audio_page_header.dart index 83a8b442f..d54ac4fec 100644 --- a/lib/common/view/audio_page_header.dart +++ b/lib/common/view/audio_page_header.dart @@ -105,8 +105,7 @@ class _AudioPageHeaderSubTitle extends StatelessWidget { Widget build(BuildContext context) { final theme = context.t; - final style = - theme.textTheme.labelMedium?.copyWith(fontWeight: FontWeight.w300); + final style = theme.pageHeaderSubtitleStyle; return Row( mainAxisSize: MainAxisSize.min, children: [ diff --git a/lib/common/view/audio_page_header_html_description.dart b/lib/common/view/audio_page_header_html_description.dart index 74b4697fd..de602fad0 100644 --- a/lib/common/view/audio_page_header_html_description.dart +++ b/lib/common/view/audio_page_header_html_description.dart @@ -6,6 +6,8 @@ import 'package:phoenix_theme/phoenix_theme.dart'; import 'package:url_launcher/url_launcher.dart'; import 'package:yaru/yaru.dart'; +import '../../extensions/theme_data_x.dart'; + class AudioPageHeaderHtmlDescription extends StatelessWidget { const AudioPageHeaderHtmlDescription({ super.key, @@ -18,7 +20,7 @@ class AudioPageHeaderHtmlDescription extends StatelessWidget { @override Widget build(BuildContext context) { - final descriptionStyle = context.t.textTheme.labelSmall; + final descriptionStyle = context.t.pageHeaderDescription; return Padding( padding: const EdgeInsets.symmetric(horizontal: kYaruPagePadding), child: SizedBox( diff --git a/lib/extensions/theme_data_x.dart b/lib/extensions/theme_data_x.dart index 991218f2e..db3a6a231 100644 --- a/lib/extensions/theme_data_x.dart +++ b/lib/extensions/theme_data_x.dart @@ -17,7 +17,10 @@ extension ThemeDataX on ThemeData { ); TextStyle? get pageHeaderDescription => - textTheme.labelSmall?.copyWith(fontWeight: FontWeight.w300); + textTheme.labelMedium?.copyWith(fontWeight: FontWeight.w500); + + TextStyle? get pageHeaderSubtitleStyle => + textTheme.labelLarge?.copyWith(fontWeight: FontWeight.w500); Color get containerBg => colorScheme.background.scale( lightness: diff --git a/pubspec.yaml b/pubspec.yaml index 6775705f7..ffb95fd9d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: musicpod description: Ubuntu music, radio and podcast player. -version: 1.5.0 +version: 1.5.1 publish_to: "none"